From 848c5893124dc0c3aba5e313d1faa4679808d0fc Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 30 Mar 2005 15:14:43 +0000 Subject: [PATCH] Eliminate warning on WinCE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/notebook.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index da9b748679..3f26c2a6eb 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -184,6 +184,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxNotebookEvent, wxNotifyEvent) // local functions // ---------------------------------------------------------------------------- +#ifndef __WXWINCE__ // apparently DrawThemeBackground() modifies the rect passed to it and if we // 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 @@ -196,6 +197,7 @@ static void AdjustRectForThemeBg(RECT& rc) rc.right += 4; rc.bottom += 5; } +#endif // ============================================================================ // implementation -- 2.50.0