]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/bmpbuttn.h
added selecting-while-dragging
[wxWidgets.git] / include / wx / msw / bmpbuttn.h
index fa4233e801535a96a3dc5826fa5ecee3a64cc4f0..8551941d1c89d36f9b06b0c8fc4ecc2bde1b80f9 100644 (file)
@@ -48,7 +48,7 @@ public:
                 const wxString& name = wxButtonNameStr);
 
 #if WXWIN_COMPATIBILITY
-    wxBitmap *GetBitmap() const { return (wxBitmap *) & m_bmp; }
+    wxBitmap *GetBitmap() const { return (wxBitmap *) &GetBitmapLabel(); }
 #endif
 
     // Implementation