X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/73b1b99623b149651ed0beb3701dd81f00ee2def..5bd77105934934cf38145e036d7072c2ca0b0456:/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