X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/30b5fc118f6fa8bad8cd3692ca42c164aa5007f9..4004f41e3ce1655f9fa05c55a697ac0f8677c23a:/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