X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..2d5efafe74f3788bfd3b3d8b1e8e13135a595ed5:/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_