]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_choicbk.cpp
synthesize NM_RCLICK ourselves now that def window proc doesn't do it as we don't...
[wxWidgets.git] / src / xrc / xh_choicbk.cpp
index a9ee4eb3ef6cf0d921b2e05c9a42d59509c3df29..c4873ebc1ec3e753c5d5c76b5389760104699ecc 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(wxCHB_DEFAULT);
+    XRC_ADD_STYLE(wxCHB_LEFT);
+    XRC_ADD_STYLE(wxCHB_RIGHT);
+    XRC_ADD_STYLE(wxCHB_TOP);
+    XRC_ADD_STYLE(wxCHB_BOTTOM);
+
     AddWindowStyles();
 }