]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
Fixed a misplaced } that was causing the wrong encoding to be enumerated
[wxWidgets.git] / src / msw / control.cpp
index 88ab79da903f1ad3a1b38c4b3dc4cf1d605638e9..f610c69d779cb287a8b50e8ccd87b96c5ddda72a 100644 (file)
@@ -30,7 +30,7 @@
 
 #include "wx/msw/private.h"
 
-#if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__)
+#if (defined(__WIN95__) && !defined(__GNUWIN32__)) || defined(__TWIN32__) || defined(wxUSE_NORLANDER_HEADERS)
 #include <commctrl.h>
 #endif
 
@@ -76,7 +76,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname, WXDWORD style)
     if ( !m_hWnd )
     {
 #ifdef __WXDEBUG__
-        wxLogError(_T("Failed to create a control of class '%s'"), classname);
+        wxLogError(wxT("Failed to create a control of class '%s'"), classname);
 #endif // DEBUG
 
         return FALSE;