]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_dlg.cpp
Tools
[wxWidgets.git] / contrib / src / xrc / xh_dlg.cpp
index 9aec62e83599f90c09773c780d04fc5661f6cedb..392d9376f7204a12cb5a9dc29cac3f44e3da4b30 100644 (file)
@@ -1,6 +1,6 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        xh_dlg.cpp
-// Purpose:     XML resource for dialogs
+// Purpose:     XRC resource for dialogs
 // Author:      Vaclav Slavik
 // Created:     2000/03/05
 // RCS-ID:      $Id$
@@ -50,7 +50,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
 { 
     wxDialog *dlg = wxDynamicCast(m_instance, wxDialog);
     
-    wxASSERT_MSG(dlg, _("XML resource: Cannot create dialog without instance."));
+    wxASSERT_MSG(dlg, _("XRC resource: Cannot create dialog without instance."));
     
     dlg->Create(m_parentAsWindow,
                 GetID(),
@@ -64,7 +64,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
 
     CreateChildren(dlg);
     
-    if (GetBool(_("centered"), FALSE))
+    if (GetBool(wxT("centered"), FALSE))
         dlg->Centre();
     
     return dlg;