X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f469584d643a59dab4545bb95020bf6188af1d69..b71e90034f872d9fcad61abcdc000ab7cb4cfcd2:/src/msw/radiobut.cpp diff --git a/src/msw/radiobut.cpp b/src/msw/radiobut.cpp index e88d6d7829..e41f4cc7c0 100644 --- a/src/msw/radiobut.cpp +++ b/src/msw/radiobut.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "radiobut.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -312,7 +308,9 @@ wxSize wxRadioButton::DoGetBestSize() const hRadio = s_radioSize; } - return wxSize(wRadio, hRadio); + wxSize best(wRadio, hRadio); + CacheBestSize(best); + return best; } #endif // wxUSE_RADIOBTN