]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_choic.cpp
documented EVT_LIST_ITEM_RIGHT_CLICK
[wxWidgets.git] / contrib / src / xml / xh_choic.cpp
index 414ce981cbb81cd1dec7b731dbe5a008c9e4449c..6ffec1f04d761874c08f5fce1f489e56b6bfbbb2 100644 (file)
@@ -26,6 +26,7 @@ wxChoiceXmlHandler::wxChoiceXmlHandler()
 : wxXmlResourceHandler() , m_InsideBox(FALSE)
 {
     ADD_STYLE(wxCB_SORT);
+    AddWindowStyles();
 }
 
 wxObject *wxChoiceXmlHandler::DoCreateResource()
@@ -38,7 +39,7 @@ wxObject *wxChoiceXmlHandler::DoCreateResource()
         // need to build the list of strings from children
         m_InsideBox = TRUE;
         CreateChildren( NULL, TRUE /* only this handler */, 
-                        GetParamNode(_T("content"));
+                        GetParamNode(_T("content")));
         wxString *strings = (wxString *) NULL;
         if( strList.GetCount() > 0 )
         {