#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
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;