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:
parent
f9788a11c4
commit
840015f0e3
@ -822,7 +822,11 @@ wxColour wxNotebook::GetThemeBackgroundColour()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Windows only: attempts to apply the UX theme page background to this page
|
// Windows only: attempts to apply the UX theme page background to this page
|
||||||
|
#if wxUSE_UXTHEME
|
||||||
void wxNotebook::ApplyThemeBackground(wxWindow* window, const wxColour& colour)
|
void wxNotebook::ApplyThemeBackground(wxWindow* window, const wxColour& colour)
|
||||||
|
#else
|
||||||
|
void wxNotebook::ApplyThemeBackground(wxWindow*, const wxColour&)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
#if wxUSE_UXTHEME
|
#if wxUSE_UXTHEME
|
||||||
// Don't set the background for buttons since this will
|
// 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();
|
wxWindow *child = node->GetData();
|
||||||
ApplyThemeBackground(child, colour);
|
ApplyThemeBackground(child, colour);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
window;
|
|
||||||
colour;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user