]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/printing/printing.h
fixed bug in PS clipping (non-virtual SetClippingRegion was overloaded)
[wxWidgets.git] / samples / printing / printing.h
index 1b56be4d7097c5ab08aa101d01d19cf94a7de1ec..d9df02dfbbe7f11b20e39ebca7a0cbc8ac2a1c2a 100644 (file)
@@ -17,8 +17,9 @@
 class MyApp: public wxApp
 {
   public:
-    MyApp(void) ;
-    bool OnInit(void);
+    MyApp() ;
+    bool OnInit();
+    int OnExit();
 
     wxFont* m_testFont;
 };
@@ -34,8 +35,6 @@ class MyFrame: public wxFrame
     MyCanvas *canvas;
     MyFrame(wxFrame *frame, const wxString& title, const wxPoint& pos, const wxSize& size);
 
-    bool OnClose(void);
-
     void Draw(wxDC& dc);
 
     void OnSize(wxSizeEvent& event);