| 1 | ///////////////////////////////////////////////////////////////////////////// | 
 
 
 
 
 | 2 | // Name: | 
 
 
 
 
 | 3 | // Purpose: | 
 
 
 
 
 | 4 | // Author: | 
 
 
 
 
 | 5 | // Modified by: | 
 
 
 
 
 | 6 | // Created:     06/05/2009 08:47:17 | 
 
 
 
 
 | 7 | // RCS-ID: | 
 
 
 
 
 | 8 | // Copyright: | 
 
 
 
 
 | 9 | // Licence: | 
 
 
 
 
 | 10 | ///////////////////////////////////////////////////////////////////////////// | 
 
 
 
 
 | 11 |  | 
 
 
 
 
 | 12 | #ifndef _APP_RESOURCES_H_ | 
 
 
 
 
 | 13 | #define _APP_RESOURCES_H_ | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 | /*! | 
 
 
 
 
 | 16 | * Control identifiers | 
 
 
 
 
 | 17 | */ | 
 
 
 
 
 | 18 |  | 
 
 
 
 
 | 19 | ////@begin control identifiers | 
 
 
 
 
 | 20 | #define Open 10002 | 
 
 
 
 
 | 21 | #define ID_MENU 10003 | 
 
 
 
 
 | 22 | #define ID_MENU1 10004 | 
 
 
 
 
 | 23 | ////@end control identifiers | 
 
 
 
 
 | 24 |  | 
 
 
 
 
 | 25 | class AppResources | 
 
 
 
 
 | 26 | { | 
 
 
 
 
 | 27 | public: | 
 
 
 
 
 | 28 | AppResources() {} | 
 
 
 
 
 | 29 |  | 
 
 
 
 
 | 30 | /*! | 
 
 
 
 
 | 31 | * Resource functions | 
 
 
 
 
 | 32 | */ | 
 
 
 
 
 | 33 |  | 
 
 
 
 
 | 34 | ////@begin AppResources resource functions | 
 
 
 
 
 | 35 | /// Menubar creation function for ID_MENUBAR | 
 
 
 
 
 | 36 | static wxMenuBar* CreateMenuMenubar(); | 
 
 
 
 
 | 37 |  | 
 
 
 
 
 | 38 | /// Retrieves bitmap resources | 
 
 
 
 
 | 39 | static wxBitmap GetBitmapResource( const wxString& name ); | 
 
 
 
 
 | 40 |  | 
 
 
 
 
 | 41 | /// Retrieves icon resources | 
 
 
 
 
 | 42 | static wxIcon GetIconResource( const wxString& name ); | 
 
 
 
 
 | 43 | ////@end AppResources resource functions | 
 
 
 
 
 | 44 |  | 
 
 
 
 
 | 45 | }; | 
 
 
 
 
 | 46 |  | 
 
 
 
 
 | 47 | #endif | 
 
 
 
 
 | 48 | // _APP_RESOURCES_H_ |