]> 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 c828b233c901f98dc62978fda078d7856676f943..c4873ebc1ec3e753c5d5c76b5389760104699ecc 100644 (file)
@@ -32,11 +32,11 @@ IMPLEMENT_DYNAMIC_CLASS(wxChoicebookXmlHandler, wxXmlResourceHandler)
 wxChoicebookXmlHandler::wxChoicebookXmlHandler()
 : wxXmlResourceHandler(), m_isInside(false), m_choicebook(NULL)
 {
-    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);
+    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();
 }