]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_frame.cpp
Applied patch to avoid g_lib wanrings.
[wxWidgets.git] / src / xrc / xh_frame.cpp
index 520b265ca6c878d84d1adcc0a02c53a904e2da2b..36461038f5ea1e1dccfe2d369de9b5c01fc3ea89 100644 (file)
@@ -50,7 +50,6 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler()
     XRC_ADD_STYLE(wxNO_3D);
     XRC_ADD_STYLE(wxTAB_TRAVERSAL);
     XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY);
-    XRC_ADD_STYLE(wxCLIP_CHILDREN);
 
     AddWindowStyles();
 }
@@ -75,7 +74,7 @@ wxObject *wxFrameXmlHandler::DoCreateResource()
 
     CreateChildren(frame);
 
-    if (GetBool(wxT("centered"), FALSE))
+    if (GetBool(wxT("centered"), false))
         frame->Centre();
 
     return frame;