]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_frame.cpp
added wxXRC_NO_RELOADING
[wxWidgets.git] / contrib / src / xrc / xh_frame.cpp
index 7d4380076f116837751582d2a5930334cba3baca..795bb43af90bc45c8beddf9f02c2988e9a5f2237 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "wx/xrc/xh_frame.h"
 #include "wx/frame.h"
+#include "wx/dialog.h" // to get wxDEFAULT_DIALOG_STYLE
 #include "wx/log.h"
 #include "wx/intl.h"
 
@@ -74,7 +75,7 @@ wxObject *wxFrameXmlHandler::DoCreateResource()
 
     CreateChildren(frame);
 
-    if (GetBool(wxT("centered"), FALSE))
+    if (GetBool(wxT("centered"), false))
         frame->Centre();
 
     return frame;