X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c857185ce07eeb3699b53aea20748c30b52b0ed3..3c1a88d8b8518eda184be388723f46cfd54c3ac6:/src/common/resource.cpp?ds=sidebyside diff --git a/src/common/resource.cpp b/src/common/resource.cpp index b0945819f7..98b983adf0 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -544,7 +544,6 @@ wxControl *wxResourceTable::CreateItem(wxWindow *parent, const wxItemResource* c // Force the layout algorithm since the size changes the layout if (control->IsKindOf(CLASSINFO(wxRadioBox))) { - wxSize sz = control->GetSize(); control->SetSize(-1, -1, -1, -1, wxSIZE_AUTO_WIDTH|wxSIZE_AUTO_HEIGHT); } #endif