X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..1ec4e9c2b72a01a7ba7da569e0f8d04a81aaba10:/demos/poem/wxpoem.h diff --git a/demos/poem/wxpoem.h b/demos/poem/wxpoem.h index 605ed69fa5..c8975779c2 100644 --- a/demos/poem/wxpoem.h +++ b/demos/poem/wxpoem.h @@ -14,6 +14,10 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#ifndef _WXPOEM_H_ +#define _WXPOEM_H_ + + // Define a new application class MyApp: public wxApp { @@ -46,7 +50,8 @@ class MainWindow: public wxFrame { public: MyCanvas *canvas; - MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style); + MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, + const wxPoint& pos, const wxSize& size, long style); virtual ~MainWindow(); void OnCloseWindow(wxCloseEvent& event); @@ -107,3 +112,5 @@ enum POEM_SEARCH = wxID_FIND, POEM_MINIMIZE = wxID_ICONIZE_FRAME }; + +#endif // _WXPOEM_H_