X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7c6ad433beab62c3108b61bbc2b682302607f6bf..b1b3ddd840a507f3ca85379bfa832f2b0c9105d6:/src/xrc/xh_dlg.cpp diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index c645b94f01..0305962c80 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -34,7 +34,7 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxSYSTEM_MENU); XRC_ADD_STYLE(wxRESIZE_BORDER); XRC_ADD_STYLE(wxRESIZE_BOX); - XRC_ADD_STYLE(wxCLOSE); + XRC_ADD_STYLE(wxCLOSE_BOX); XRC_ADD_STYLE(wxDIALOG_MODAL); XRC_ADD_STYLE(wxDIALOG_MODELESS);