]> git.saurik.com Git - wxWidgets.git/commitdiff
Eliminate warning on WinCE
authorJulian Smart <julian@anthemion.co.uk>
Wed, 30 Mar 2005 15:14:43 +0000 (15:14 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 30 Mar 2005 15:14:43 +0000 (15:14 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notebook.cpp

index da9b748679a932185471db1b2d59b5625f5c6498..3f26c2a6ebeecb0c9f4427d9d1e241ed0362afdf 100644 (file)
@@ -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