]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpbuttn.h
send more page change events (patch 750521); document this behaviour
[wxWidgets.git] / include / wx / bmpbuttn.h
index 7c1ad834fd4e4d8477b99906bea5c107268cfa7a..f0e8f7782b24a5e0019bdc24d71fdca930291fea 100644 (file)
@@ -27,7 +27,10 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
 class WXDLLEXPORT wxBitmapButtonBase : public wxButton
 {
 public:
-    wxBitmapButtonBase() { m_marginX = m_marginY = 0; }
+    wxBitmapButtonBase()
+        : m_bmpNormal(), m_bmpSelected(), m_bmpFocus(), m_bmpDisabled()
+        , m_marginX(0), m_marginY(0)
+        { }
 
     // set the bitmaps
     void SetBitmapLabel(const wxBitmap& bitmap)
@@ -83,14 +86,12 @@ private:
     #include "wx/motif/bmpbuttn.h"
 #elif defined(__WXGTK__)
     #include "wx/gtk/bmpbuttn.h"
-#elif defined(__WXQT__)
-    #include "wx/qt/bmpbuttn.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/bmpbuttn.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/bmpbuttn.h"
 #elif defined(__WXPM__)
     #include "wx/os2/bmpbuttn.h"
-#elif defined(__WXSTUBS__)
-    #include "wx/stubs/bmpbuttn.h"
 #endif
 
 #endif // wxUSE_BMPBUTTON