]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_dlg.cpp
fix for stupid segfault
[wxWidgets.git] / contrib / src / xrc / xh_dlg.cpp
index c872225abb1a38d6287dec6de0e810d07caae994..392d9376f7204a12cb5a9dc29cac3f44e3da4b30 100644 (file)
@@ -64,7 +64,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
 
     CreateChildren(dlg);
     
-    if (GetBool(_("centered"), FALSE))
+    if (GetBool(wxT("centered"), FALSE))
         dlg->Centre();
     
     return dlg;