]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/myframe.h
Show use use of both wxNativePixelData and wxAlphaPixelData
[wxWidgets.git] / samples / xrc / myframe.h
index c2246335b59e7dabf59b98a2f82b9691b01edc0c..4ed521d9d412b6a89ef007b48c520c56c0e4a188 100644 (file)
 #ifndef _MYFRAME_H_
 #define _MYFRAME_H_
 
-//-----------------------------------------------------------------------------
-// GCC interface
-//-----------------------------------------------------------------------------
-
-#ifdef __GNUG__
-    #pragma interface "myframe.h"
-#endif
-
 //-----------------------------------------------------------------------------
 // Headers
 //-----------------------------------------------------------------------------
@@ -41,21 +33,23 @@ public:
     // Constructor.
     MyFrame( wxWindow* parent=(wxWindow *)NULL);
 
-private:   
+private:
 
     // Event handlers (these functions should _not_ be virtual)
+    void OnUnloadResourceMenuCommand(wxCommandEvent& event);
+    void OnReloadResourceMenuCommand(wxCommandEvent& event);
     void OnExitToolOrMenuCommand(wxCommandEvent& event);
     void OnAboutToolOrMenuCommand(wxCommandEvent& event);
     void OnNonDerivedDialogToolOrMenuCommand(wxCommandEvent& event);
     void OnDerivedDialogToolOrMenuCommand(wxCommandEvent& event);
     void OnControlsToolOrMenuCommand(wxCommandEvent& event);
-    void OnUncenteredToolOrMenuCommand(wxCommandEvent& event);    
+    void OnUncenteredToolOrMenuCommand(wxCommandEvent& event);
     void OnCustomClassToolOrMenuCommand(wxCommandEvent& event);
     void OnPlatformPropertyToolOrMenuCommand(wxCommandEvent& event);
     void OnArtProviderToolOrMenuCommand(wxCommandEvent& event);
     void OnVariableExpansionToolOrMenuCommand(wxCommandEvent& event);
 
-    // Any class wishing to process wxWindows events must use this macro
+    // Any class wishing to process wxWidgets events must use this macro
     DECLARE_EVENT_TABLE()
 
 };