]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_dlg.cpp
undoing last change, widgets sample had slider label offset
[wxWidgets.git] / src / xrc / xh_dlg.cpp
index 0fefbf70e6439886926de709856c8ce66d77e34d..7a93c46dc947ba7bab635b0729f93097ee6b9c16 100644 (file)
@@ -70,7 +70,7 @@ wxObject *wxDialogXmlHandler::DoCreateResource()
 
     CreateChildren(dlg);
 
 
     CreateChildren(dlg);
 
-    if (GetBool(wxT("centered"), FALSE))
+    if (GetBool(wxT("centered"), false))
         dlg->Centre();
 
     return dlg;
         dlg->Centre();
 
     return dlg;