refresh bitmap when it's label changes, this is necessary for wxMSW and maybe wxGTK and shouldn't hurt much for other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,7 +67,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
// function called when any of the bitmaps changes
|
// function called when any of the bitmaps changes
|
||||||
virtual void OnSetBitmap() { InvalidateBestSize(); }
|
virtual void OnSetBitmap() { InvalidateBestSize(); Refresh(); }
|
||||||
|
|
||||||
// the bitmaps for various states
|
// the bitmaps for various states
|
||||||
wxBitmap m_bmpNormal,
|
wxBitmap m_bmpNormal,
|
||||||
|
Reference in New Issue
Block a user