X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73b1b99623b149651ed0beb3701dd81f00ee2def..4e8d90a7ce7889c729193b1ad5e10c357ff9569f:/include/wx/osx/button.h?ds=sidebyside 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