]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/window.h
fix crash caused by an wxMDIClientWindow's GTK signal handler being called when the...
[wxWidgets.git] / include / wx / os2 / window.h
index 4aeb845c43aa952049fb9776770abb185b38d593..14e664fa69c6066dabbeee5dc2ff1d9952e70184 100644 (file)
@@ -101,8 +101,8 @@ public:
     virtual void     GetTextExtent( const wxString& rString
                                    ,int*            pX
                                    ,int*            pY
-                                   ,int*            pDescent = (int *)NULL
-                                   ,int*            pExternalLeading = (int *)NULL
+                                   ,int*            pDescent = NULL
+                                   ,int*            pExternalLeading = NULL
                                    ,const wxFont*   pTheFont = (const wxFont *)NULL
                                   ) const;
 #if wxUSE_MENUS_NATIVE
@@ -127,7 +127,7 @@ public:
     virtual int      GetScrollRange(int nOrient) const;
     virtual void     ScrollWindow( int           nDx
                                   ,int           nDy
-                                  ,const wxRect* pRect = (wxRect *)NULL
+                                  ,const wxRect* pRect = NULL
                                  );
 
     inline HWND                   GetScrollBarHorz(void) const {return m_hWndScrollBarHorz;}
@@ -534,7 +534,7 @@ private:
     SWP                             m_vWinSwp;
 
     DECLARE_DYNAMIC_CLASS(wxWindowOS2);
-    DECLARE_NO_COPY_CLASS(wxWindowOS2)
+    wxDECLARE_NO_COPY_CLASS(wxWindowOS2);
     DECLARE_EVENT_TABLE()
 }; // end of wxWindow