From 82c51a8ec9b97e5e05a2d20f9dcd894f6ab4aec2 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sun, 12 Nov 2006 16:07:59 +0000 Subject: [PATCH] Wine fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/notebook.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/msw/notebook.cpp b/src/msw/notebook.cpp index bfc98f9e01..893dd211eb 100644 --- a/src/msw/notebook.cpp +++ b/src/msw/notebook.cpp @@ -293,7 +293,11 @@ bool wxNotebook::Create(wxWindow *parent, } #endif //wxUSE_UXTHEME +#if defined(__WINE__) && wxUSE_UNICODE + LPCTSTR className = L"SysTabControl32"; +#else LPCTSTR className = WC_TABCONTROL; +#endif #if USE_NOTEBOOK_ANTIFLICKER // SysTabCtl32 class has natively CS_HREDRAW and CS_VREDRAW enabled and it