X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1f9e3ec5d8f3c0bb5bfe558f5ecb35b994383eb..17b1d76b4add82305463d10b9f65668d06169363:/samples/mobile/styles/styles.h?ds=sidebyside diff --git a/samples/mobile/styles/styles.h b/samples/mobile/styles/styles.h index b3c5dfafb1..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 wxWindows' headers +// 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(); };