From: Julian Smart Date: Mon, 7 Mar 2005 21:52:17 +0000 (+0000) Subject: Added metal styles X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/32a1ea1c5d8aab25143e76f0cfe1bd6aa86c0d3f Added metal styles git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index 235a352fd5..e174e073b6 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -45,6 +45,7 @@ wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxNO_3D); XRC_ADD_STYLE(wxTAB_TRAVERSAL); XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY); + XRC_ADD_STYLE(wxDIALOG_EX_METAL); XRC_ADD_STYLE(wxMAXIMIZE_BOX); XRC_ADD_STYLE(wxMINIMIZE_BOX); diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index b88359aa1d..f5b59ef01c 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -52,6 +52,7 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxNO_3D); XRC_ADD_STYLE(wxTAB_TRAVERSAL); XRC_ADD_STYLE(wxWS_EX_VALIDATE_RECURSIVELY); + XRC_ADD_STYLE(wxFRAME_EX_METAL); AddWindowStyles(); }