]> git.saurik.com Git - wxWidgets.git/commitdiff
More styles in XRC handlers of book controls.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 1 Mar 2005 07:38:09 +0000 (07:38 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 1 Mar 2005 07:38:09 +0000 (07:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_choicbk.cpp
src/xrc/xh_listbk.cpp
src/xrc/xh_notbk.cpp

index a9ee4eb3ef6cf0d921b2e05c9a42d59509c3df29..c828b233c901f98dc62978fda078d7856676f943 100644 (file)
@@ -32,10 +32,12 @@ IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler)
 wxChoicebookXmlHandler::wxChoicebookXmlHandler()
 : wxXmlResourceHandler(), m_isInside(false), m_choicebook(NULL)
 {
-    XRC_ADD_STYLE(wxLB_LEFT);
-    XRC_ADD_STYLE(wxLB_RIGHT);
-    XRC_ADD_STYLE(wxLB_TOP);
-    XRC_ADD_STYLE(wxLB_BOTTOM);
+    XRC_ADD_STYLE(wxCB_DEFAULT);
+    XRC_ADD_STYLE(wxCB_LEFT);
+    XRC_ADD_STYLE(wxCB_RIGHT);
+    XRC_ADD_STYLE(wxCB_TOP);
+    XRC_ADD_STYLE(wxCB_BOTTOM);
+
     AddWindowStyles();
 }
 
index ef7dd63a98a03a2a441cda261738bf0d21793dac..21a6cb058691c86f1386ebda4d643d0896a013a8 100644 (file)
@@ -32,10 +32,12 @@ IMPLEMENT_DYNAMIC_CLASS(wxListbookXmlHandler, wxXmlResourceHandler)
 wxListbookXmlHandler::wxListbookXmlHandler()
 : wxXmlResourceHandler(), m_isInside(false), m_listbook(NULL)
 {
+    XRC_ADD_STYLE(wxLB_DEFAULT);
     XRC_ADD_STYLE(wxLB_LEFT);
     XRC_ADD_STYLE(wxLB_RIGHT);
     XRC_ADD_STYLE(wxLB_TOP);
     XRC_ADD_STYLE(wxLB_BOTTOM);
+
     AddWindowStyles();
 }
 
index 596df57b3621c25fa5833b0a61806267b00e30c7..cb2c6feae4a90972a30993db4d238972e2cd4f87 100644 (file)
@@ -33,11 +33,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler)
 wxNotebookXmlHandler::wxNotebookXmlHandler()
 : wxXmlResourceHandler(), m_isInside(false), m_notebook(NULL)
 {
-    XRC_ADD_STYLE(wxNB_FIXEDWIDTH);
+    XRC_ADD_STYLE(wxNB_DEFAULT);
     XRC_ADD_STYLE(wxNB_LEFT);
     XRC_ADD_STYLE(wxNB_RIGHT);
     XRC_ADD_STYLE(wxNB_TOP);
     XRC_ADD_STYLE(wxNB_BOTTOM);
+
+    XRC_ADD_STYLE(wxNB_FIXEDWIDTH);
+    XRC_ADD_STYLE(wxNB_MULTILINE);
+    XRC_ADD_STYLE(wxNB_NOPAGETHEME);
+
     AddWindowStyles();
 }