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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user