various warning fixes for icc 9.1 compilation

- variable shadowing
- unused code and variables
- extra semicolons


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-09-21 12:00:25 +00:00
parent 6908078e27
commit 74ab5f5b9d
15 changed files with 63 additions and 71 deletions

View File

@@ -184,11 +184,11 @@ void wxGenericCollapsiblePane::OnStateChange(const wxSize& sz)
if (top->GetSizer())
{
// we have just set the size hints...
wxSize sz = top->GetSizer()->CalcMin();
wxSize szClient = top->GetSizer()->CalcMin();
// use SetClientSize() and not SetSize() otherwise the size for
// e.g. a wxFrame with a menubar wouldn't be correctly set
top->SetClientSize(sz);
top->SetClientSize(szClient);
}
else
top->Layout();