]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/prntbase.h
a file I forgot to check in (sorry Julian)
[wxWidgets.git] / include / wx / prntbase.h
index f484b7a925c163936b66e008582bdf2afb144b38..73a1b410a7d954480c9981a95262a9e5791364e9 100644 (file)
@@ -173,7 +173,7 @@ public:
     long style = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame");
   ~wxPreviewFrame();
 
-  bool OnClose();
+  void OnCloseWindow(wxCloseEvent& event);
   virtual void Initialize();
   virtual void CreateCanvas();
   virtual void CreateControlBar();
@@ -182,6 +182,8 @@ protected:
   wxWindow*             m_previewCanvas;
   wxPreviewControlBar*  m_controlBar;
   wxPrintPreviewBase*   m_printPreview;
+
+DECLARE_EVENT_TABLE()
 };
 
 /*
@@ -221,7 +223,7 @@ public:
   inline virtual wxPrintPreviewBase *GetPrintPreview() const { return m_printPreview; }
 
   void OnPrint(wxCommandEvent& event);
-  void OnClose(wxCommandEvent& event);
+  void OnWindowClose(wxCommandEvent& event);
   void OnNext(wxCommandEvent& event);
   void OnPrevious(wxCommandEvent& event);
   void OnZoom(wxCommandEvent& event);