]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ogl/samples/ogledit/ogledit.h
print overlap gone, mouse/cursor handling
[wxWidgets.git] / utils / ogl / samples / ogledit / ogledit.h
index c44195b6a7ce8736939efe5331806795a00700fe..62dfb9bced0c8d0800748df81345e423725ea30a 100644 (file)
@@ -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()