]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/bmpbuttn.h
Renamed the wxWindowCocoaScroller class to wxWindowCocoaScrollView because
[wxWidgets.git] / include / wx / os2 / bmpbuttn.h
index 48c13f2b31660f556d094f234b19d1dabc486135..2185eea285fa2e602e8880dd2d47383937be5119 100644 (file)
@@ -13,6 +13,7 @@
 #define _WX_BMPBUTTN_H_
 
 #include "wx/button.h"
+#include "wx/dcclient.h"
 
 WXDLLEXPORT_DATA(extern const char*) wxButtonNameStr;
 
@@ -32,9 +33,7 @@ public:
                           ,const wxPoint&     rPos = wxDefaultPosition
                           ,const wxSize&      rSize = wxDefaultSize
                           ,long               lStyle = wxBU_AUTODRAW
-#if wxUSE_VALIDATORS
                           ,const wxValidator& rValidator = wxDefaultValidator
-#endif
                           ,const wxString&    rsName = wxButtonNameStr
                          )
     {
@@ -44,9 +43,7 @@ public:
                ,rPos
                ,rSize
                ,lStyle
-#if wxUSE_VALIDATORS
                ,rValidator
-#endif
                ,rsName
               );
     }
@@ -57,9 +54,7 @@ public:
                 ,const wxPoint&     rPos = wxDefaultPosition
                 ,const wxSize&      rSize = wxDefaultSize
                 ,long               lStyle = wxBU_AUTODRAW
-#if wxUSE_VALIDATORS
                 ,const wxValidator& rValidator = wxDefaultValidator
-#endif
                 ,const wxString&    rsName = wxButtonNameStr
                );
 
@@ -68,13 +63,6 @@ public:
         SetBitmapLabel(rBitmap);
     }
 
-#if WXWIN_COMPATIBILITY
-    wxBitmap* GetBitmap(void) const
-    {
-        return (wxBitmap *)&m_buttonBitmap;
-    }
-#endif
-
     //
     // Implementation
     //