]> git.saurik.com Git - wxWidgets.git/commitdiff
Wine fix
authorJulian Smart <julian@anthemion.co.uk>
Sun, 12 Nov 2006 16:07:59 +0000 (16:07 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 12 Nov 2006 16:07:59 +0000 (16:07 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/notebook.cpp

index bfc98f9e01554de3fc38d8c1162694e38270ff11..893dd211ebc699b13958eac5371bdfa6ac8fa6af 100644 (file)
@@ -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