Fix "Statement with no effect" warning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-08-03 20:11:52 +00:00
parent f9788a11c4
commit 840015f0e3

View File

@ -822,7 +822,11 @@ wxColour wxNotebook::GetThemeBackgroundColour()
}
// Windows only: attempts to apply the UX theme page background to this page
#if wxUSE_UXTHEME
void wxNotebook::ApplyThemeBackground(wxWindow* window, const wxColour& colour)
#else
void wxNotebook::ApplyThemeBackground(wxWindow*, const wxColour&)
#endif
{
#if wxUSE_UXTHEME
// Don't set the background for buttons since this will
@ -852,9 +856,6 @@ void wxNotebook::ApplyThemeBackground(wxWindow* window, const wxColour& colour)
wxWindow *child = node->GetData();
ApplyThemeBackground(child, colour);
}
#else
window;
colour;
#endif
}