]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bmpbuttn.h
wx(Choice/List/Note)book controls send CHANG(ED/ING) events in SetSelection.
[wxWidgets.git] / include / wx / bmpbuttn.h
index c874c9d9dabed5ef9b775c8b66b00d5e78099cc6..54a38c432248daccb7db01d3e98db7b11a94d8e6 100644 (file)
@@ -67,7 +67,7 @@ public:
 
 protected:
     // function called when any of the bitmaps changes
-    virtual void OnSetBitmap() { }
+    virtual void OnSetBitmap() { InvalidateBestSize(); }
 
     // the bitmaps for various states
     wxBitmap m_bmpNormal,