]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_frame.cpp
for built-in dialogs, there is no m_peer instance, and still we might have a Refresh...
[wxWidgets.git] / src / xrc / xh_frame.cpp
index 520b265ca6c878d84d1adcc0a02c53a904e2da2b..795bb43af90bc45c8beddf9f02c2988e9a5f2237 100644 (file)
@@ -75,7 +75,7 @@ wxObject *wxFrameXmlHandler::DoCreateResource()
 
     CreateChildren(frame);
 
 
     CreateChildren(frame);
 
-    if (GetBool(wxT("centered"), FALSE))
+    if (GetBool(wxT("centered"), false))
         frame->Centre();
 
     return frame;
         frame->Centre();
 
     return frame;