Eliminate warning on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -184,6 +184,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent)
|
|||||||
// local functions
|
// local functions
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifndef __WXWINCE__
|
||||||
// apparently DrawThemeBackground() modifies the rect passed to it and if we
|
// apparently DrawThemeBackground() modifies the rect passed to it and if we
|
||||||
// don't call this function there are some drawing artifacts which are only
|
// don't call this function there are some drawing artifacts which are only
|
||||||
// visible with some non default themes; so modify the rect here so that it
|
// visible with some non default themes; so modify the rect here so that it
|
||||||
@@ -196,6 +197,7 @@ static void AdjustRectForThemeBg(RECT& rc)
|
|||||||
rc.right += 4;
|
rc.right += 4;
|
||||||
rc.bottom += 5;
|
rc.bottom += 5;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// ============================================================================
|
// ============================================================================
|
||||||
// implementation
|
// implementation
|
||||||
|
Reference in New Issue
Block a user