]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/resource.cpp
several mingw32 compilation fixes
[wxWidgets.git] / src / common / resource.cpp
index b0945819f76b4dd35f9d187b77baebf90ff1cb89..98b983adf0e1587c51277cad63ccba3b1717670c 100644 (file)
@@ -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