]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpbuttn.h
Use *wxTopLevelWindowGTK*RequestUserAttention*; because *int* isn't the case always...
[wxWidgets.git] / include / wx / bmpbuttn.h
index ebaafefda3e9d55d27add37d2e35bf9e8bac3f02..61a5428e2081ff4d132b4d88c766e21401b29a1a 100644 (file)
@@ -19,7 +19,7 @@
 #include "wx/bitmap.h"
 #include "wx/button.h"
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxButtonNameStr;
+extern WXDLLEXPORT_DATA(const wxChar*) wxButtonNameStr;
 
 // ----------------------------------------------------------------------------
 // wxBitmapButton: a button which shows bitmaps instead of the usual string.
@@ -63,7 +63,7 @@ public:
 
 protected:
     // function called when any of the bitmaps changes
-    virtual void OnSetBitmap() { }
+    virtual void OnSetBitmap() { InvalidateBestSize(); Refresh(); }
 
     // the bitmaps for various states
     wxBitmap m_bmpNormal,