X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..639848874998378be6823c5243641eb643a0b0bf:/samples/mobile/styles/styles.h diff --git a/samples/mobile/styles/styles.h b/samples/mobile/styles/styles.h index 4dbc634360..7570ce7300 100644 --- a/samples/mobile/styles/styles.h +++ b/samples/mobile/styles/styles.h @@ -1,20 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// // Name: styles.h // Author: Robert Roebling +// RCS-ID: $Id$ // Created: 04/07/02 ///////////////////////////////////////////////////////////////////////////// #ifndef __styles_H__ #define __styles_H__ -#if defined(__GNUG__) && !defined(__APPLE__) - #pragma interface "styles.cpp" -#endif - // Include wxWidgets' headers #ifndef WX_PRECOMP - #include + #include "wx/wx.h" #endif //---------------------------------------------------------------------------- @@ -36,16 +33,16 @@ public: const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE ); - + private: void CreateMyMenuBar(); - + private: void OnAbout( wxCommandEvent &event ); void OnQuit( wxCommandEvent &event ); - + void OnCloseWindow( wxCloseEvent &event ); - + private: DECLARE_EVENT_TABLE() }; @@ -57,8 +54,8 @@ private: class MyApp: public wxApp { public: - MyApp(); - + MyApp(){}; + virtual bool OnInit(); virtual int OnExit(); };