X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f449ef69b45acaa2faf554af774ce7b6b5f4af4e..a2c5528a9e3b7ea0f5a40dfa21f60606e7e8b543:/utils/ogl/samples/ogledit/ogledit.h diff --git a/utils/ogl/samples/ogledit/ogledit.h b/utils/ogl/samples/ogledit/ogledit.h index c44195b6a7..62dfb9bced 100644 --- a/utils/ogl/samples/ogledit/ogledit.h +++ b/utils/ogl/samples/ogledit/ogledit.h @@ -25,9 +25,11 @@ class MyApp: public wxApp { public: MyFrame *frame; + wxDocManager* myDocManager; MyApp(void); bool OnInit(void); + int OnExit(void); // Palette stuff EditorToolPalette *CreatePalette(wxFrame *parent); @@ -53,7 +55,7 @@ class MyFrame: public wxDocParentFrame MyCanvas *CreateCanvas(wxView *view, wxFrame *parent); void OnSize(wxSizeEvent& event); - bool OnClose(void); + void OnCloseWindow(wxCloseEvent& event); void OnAbout(wxCommandEvent& event); DECLARE_EVENT_TABLE()