]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/notebook.cpp
correct GetBestSize() to return correct best size, i.e. the same size as AutoSize...
[wxWidgets.git] / 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