X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/019faef468c1558315586be8f9071acbdbc6a385..b6b0af42a0d7281a1403f0a4a6e52a43042c405c:/contrib/src/xml/xh_dlg.cpp diff --git a/contrib/src/xml/xh_dlg.cpp b/contrib/src/xml/xh_dlg.cpp index a05fb8e0bf..0347787f08 100644 --- a/contrib/src/xml/xh_dlg.cpp +++ b/contrib/src/xml/xh_dlg.cpp @@ -62,6 +62,9 @@ wxObject *wxDialogXmlHandler::DoCreateResource() CreateChildren(dlg); + if (GetBool(_("centered"), FALSE)) + dlg->Centre(); + return dlg; }