X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73b1b99623b149651ed0beb3701dd81f00ee2def..e4431849b4f2097edf0e01c5d50bf0ed947befa9:/include/wx/osx/button.h diff --git a/include/wx/osx/button.h b/include/wx/osx/button.h index 75108eeb24..5b189fc940 100644 --- a/include/wx/osx/button.h +++ b/include/wx/osx/button.h @@ -65,6 +65,7 @@ protected: { m_marginX = x; m_marginY = y; + InvalidateBestSize(); } // the margins around the bitmap