From 79132cd30222d8c20c2232a58edc99461f9fe813 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Fri, 28 Feb 2003 22:09:14 +0000 Subject: [PATCH] Change wxCLOSE to wxCLOSE_BOX. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/xh_dlg.cpp | 2 +- contrib/src/xrc/xh_frame.cpp | 2 +- src/xrc/xh_dlg.cpp | 2 +- src/xrc/xh_frame.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/src/xrc/xh_dlg.cpp b/contrib/src/xrc/xh_dlg.cpp index c645b94f01..0305962c80 100644 --- a/contrib/src/xrc/xh_dlg.cpp +++ b/contrib/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); diff --git a/contrib/src/xrc/xh_frame.cpp b/contrib/src/xrc/xh_frame.cpp index daa12424e6..467e133472 100644 --- a/contrib/src/xrc/xh_frame.cpp +++ b/contrib/src/xrc/xh_frame.cpp @@ -35,7 +35,7 @@ wxFrameXmlHandler::wxFrameXmlHandler() : 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(wxFRAME_TOOL_WINDOW); XRC_ADD_STYLE(wxFRAME_FLOAT_ON_PARENT); 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); diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index daa12424e6..467e133472 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -35,7 +35,7 @@ wxFrameXmlHandler::wxFrameXmlHandler() : 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(wxFRAME_TOOL_WINDOW); XRC_ADD_STYLE(wxFRAME_FLOAT_ON_PARENT); -- 2.45.2