X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7dccdf8120e9d0895a3e40c51c43e91e7bc94b3f..86a6ecff59dfa3143b9a4a3a452e480e2210300b:/src/msw/notebook.cpp 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