]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/prntbase.h
wxToolTip part II
[wxWidgets.git] / include / wx / prntbase.h
index 6f49d54757fbf7458d3c56ca9b800d52b586a200..9bd3aeb0c1e7cc0c2c328d7b4baf434d448d413e 100644 (file)
@@ -170,7 +170,7 @@ class WXDLLEXPORT wxPreviewFrame: public wxFrame
 public:
   wxPreviewFrame(wxPrintPreviewBase *preview, wxFrame *parent, const wxString& title = "Print Preview",
     const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
-    long style = wxDEFAULT_FRAME, const wxString& name = "frame");
+    long style = wxDEFAULT_FRAME_STYLE, const wxString& name = "frame");
   ~wxPreviewFrame();
 
   bool OnClose();
@@ -221,7 +221,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);