X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73864f4018a754c9e3f953c6ce33a74785541ad0..1e72e3cc53f04cc79189ab5d0f6fecca3f68a2ee:/samples/richedit/wxLayout.h?ds=inline diff --git a/samples/richedit/wxLayout.h b/samples/richedit/wxLayout.h index e979a05d02..986c341b85 100644 --- a/samples/richedit/wxLayout.h +++ b/samples/richedit/wxLayout.h @@ -7,7 +7,7 @@ #pragma interface #endif -#include +#include "wx/wx.h" #include "wxllist.h" #include "wxlwindow.h" @@ -26,14 +26,13 @@ class MyApp; class MyFrame: public wxFrame { - DECLARE_DYNAMIC_CLASS(MyFrame) - public: - - MyFrame(void); - void AddSampleText(wxLayoutList *llist); - void Clear(void); - void OnCommand( wxCommandEvent &event ); +public: + + MyFrame(); + void AddSampleText(wxLayoutList *llist); + void Clear(); + void OnCommand( wxCommandEvent &event ); void OnPrint(wxCommandEvent& event); void OnPrintPreview(wxCommandEvent& event); @@ -44,11 +43,14 @@ class MyFrame: public wxFrame void OnPrintSetupPS(wxCommandEvent& event); void OnPageSetupPS(wxCommandEvent& event); - DECLARE_EVENT_TABLE() private: - wxLayoutWindow *m_lwin; - wxPrintData m_PrintData; + wxLayoutWindow *m_lwin; + wxPrintData m_PrintData; + + DECLARE_DYNAMIC_CLASS(MyFrame) + + DECLARE_EVENT_TABLE() }; //----------------------------------------------------------------------------- @@ -57,10 +59,13 @@ private: class MyApp: public wxApp { - public: - - MyApp(void); - virtual bool OnInit(void); +public: + + MyApp(); + + virtual bool OnInit(); + }; #endif // __WXCONVERTH__ +