From e7a0050ff5059829024dca96d45985b6276715f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 11 Apr 2004 20:59:39 +0000 Subject: [PATCH] added more styles (patch 933354) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/src/xrc/xh_frame.cpp | 2 ++ contrib/src/xrc/xh_listc.cpp | 3 +++ contrib/src/xrc/xh_split.cpp | 1 + src/xrc/xh_frame.cpp | 2 ++ src/xrc/xh_listc.cpp | 3 +++ src/xrc/xh_split.cpp | 1 + 6 files changed, 12 insertions(+) diff --git a/contrib/src/xrc/xh_frame.cpp b/contrib/src/xrc/xh_frame.cpp index 2fcbbd357f..7d4380076f 100644 --- a/contrib/src/xrc/xh_frame.cpp +++ b/contrib/src/xrc/xh_frame.cpp @@ -38,6 +38,8 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxRESIZE_BOX); XRC_ADD_STYLE(wxCLOSE_BOX); + XRC_ADD_STYLE(wxFRAME_NO_TASKBAR); + XRC_ADD_STYLE(wxFRAME_SHAPED); XRC_ADD_STYLE(wxFRAME_TOOL_WINDOW); XRC_ADD_STYLE(wxFRAME_FLOAT_ON_PARENT); XRC_ADD_STYLE(wxMAXIMIZE_BOX); diff --git a/contrib/src/xrc/xh_listc.cpp b/contrib/src/xrc/xh_listc.cpp index b876461977..f133a894f7 100644 --- a/contrib/src/xrc/xh_listc.cpp +++ b/contrib/src/xrc/xh_listc.cpp @@ -43,6 +43,9 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() XRC_ADD_STYLE(wxLC_SORT_ASCENDING); XRC_ADD_STYLE(wxLC_SORT_DESCENDING); XRC_ADD_STYLE(wxLC_VIRTUAL); + XRC_ADD_STYLE(wxLC_HRULES); + XRC_ADD_STYLE(wxLC_VRULES); + XRC_ADD_STYLE(wxLC_NO_SORT_HEADER); AddWindowStyles(); } diff --git a/contrib/src/xrc/xh_split.cpp b/contrib/src/xrc/xh_split.cpp index bc6f9c5f24..2eef0d3ac4 100644 --- a/contrib/src/xrc/xh_split.cpp +++ b/contrib/src/xrc/xh_split.cpp @@ -35,6 +35,7 @@ wxSplitterWindowXmlHandler::wxSplitterWindowXmlHandler() : wxXmlResourceHandler( XRC_ADD_STYLE(wxSP_NOBORDER); XRC_ADD_STYLE(wxSP_PERMIT_UNSPLIT); XRC_ADD_STYLE(wxSP_LIVE_UPDATE); + XRC_ADD_STYLE(wxSP_NO_XP_THEME); AddWindowStyles(); } diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index 2fcbbd357f..7d4380076f 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -38,6 +38,8 @@ wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler() XRC_ADD_STYLE(wxRESIZE_BOX); XRC_ADD_STYLE(wxCLOSE_BOX); + XRC_ADD_STYLE(wxFRAME_NO_TASKBAR); + XRC_ADD_STYLE(wxFRAME_SHAPED); XRC_ADD_STYLE(wxFRAME_TOOL_WINDOW); XRC_ADD_STYLE(wxFRAME_FLOAT_ON_PARENT); XRC_ADD_STYLE(wxMAXIMIZE_BOX); diff --git a/src/xrc/xh_listc.cpp b/src/xrc/xh_listc.cpp index b876461977..f133a894f7 100644 --- a/src/xrc/xh_listc.cpp +++ b/src/xrc/xh_listc.cpp @@ -43,6 +43,9 @@ wxListCtrlXmlHandler::wxListCtrlXmlHandler() XRC_ADD_STYLE(wxLC_SORT_ASCENDING); XRC_ADD_STYLE(wxLC_SORT_DESCENDING); XRC_ADD_STYLE(wxLC_VIRTUAL); + XRC_ADD_STYLE(wxLC_HRULES); + XRC_ADD_STYLE(wxLC_VRULES); + XRC_ADD_STYLE(wxLC_NO_SORT_HEADER); AddWindowStyles(); } diff --git a/src/xrc/xh_split.cpp b/src/xrc/xh_split.cpp index bc6f9c5f24..2eef0d3ac4 100644 --- a/src/xrc/xh_split.cpp +++ b/src/xrc/xh_split.cpp @@ -35,6 +35,7 @@ wxSplitterWindowXmlHandler::wxSplitterWindowXmlHandler() : wxXmlResourceHandler( XRC_ADD_STYLE(wxSP_NOBORDER); XRC_ADD_STYLE(wxSP_PERMIT_UNSPLIT); XRC_ADD_STYLE(wxSP_LIVE_UPDATE); + XRC_ADD_STYLE(wxSP_NO_XP_THEME); AddWindowStyles(); } -- 2.45.2