X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b38dc31ffa6eb372727a7b0e65001a1c3d107fcb..a45c9ba59b610080585f76b0d02e1f1499c96ffe:/src/osx/button_osx.cpp diff --git a/src/osx/button_osx.cpp b/src/osx/button_osx.cpp index b61d296384..2fef7837da 100644 --- a/src/osx/button_osx.cpp +++ b/src/osx/button_osx.cpp @@ -104,11 +104,13 @@ void wxButton::DoSetBitmap(const wxBitmap& bitmap, State which) if ( bi ) bi->SetPressedBitmap(bitmap); } + InvalidateBestSize(); } void wxButton::DoSetBitmapPosition(wxDirection dir) { m_peer->SetBitmapPosition(dir); + InvalidateBestSize(); } wxWindow *wxButton::SetDefault()