]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toplevel.cpp
Now scaling doesn't scale GetTextExtent() anymore. This
[wxWidgets.git] / src / os2 / toplevel.cpp
index 3f5d41eeba0cf3b2feba8b2aa33dd8a5a101891f..f30cb9c9908d9e1d23fcd195fa4ae57650108a52 100644 (file)
@@ -37,6 +37,7 @@
     #include "wx/frame.h"
     #include "wx/control.h"
     #include "wx/containr.h"        // wxSetFocusToChild()
+    #include "wx/module.h"        // wxSetFocusToChild()
 #endif //WX_PRECOMP
 
 #include "wx/os2/private.h"
@@ -363,9 +364,9 @@ bool wxTopLevelWindowOS2::CreateDialog(
 
     if ( !m_hWnd )
     {
-        wxFAIL_MSG(_("Did you forget to include wx/os2/wx.rc in your resources?"));
+        wxFAIL_MSG(wxT("Did you forget to include wx/os2/wx.rc in your resources?"));
 
-        wxLogSysError(_("Can't create dialog using template '%ul'"), ulDlgTemplate);
+        wxLogSysError(wxT("Can't create dialog using template '%ul'"), ulDlgTemplate);
 
         return FALSE;
     }