]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xml/xh_combo.cpp
documented EVT_LIST_ITEM_RIGHT_CLICK
[wxWidgets.git] / contrib / src / xml / xh_combo.cpp
index 115e87f1adf996555a5d785f08732b215263fd4f..54c029431bf75248a1d11b7665e91f4a1e72ae3d 100644 (file)
@@ -31,6 +31,7 @@ wxComboBoxXmlHandler::wxComboBoxXmlHandler()
     ADD_STYLE(wxCB_SORT);
     ADD_STYLE(wxCB_READONLY);
     ADD_STYLE(wxCB_DROPDOWN);
+    AddWindowStyles();
 }
 
 wxObject *wxComboBoxXmlHandler::DoCreateResource()
@@ -42,7 +43,8 @@ wxObject *wxComboBoxXmlHandler::DoCreateResource()
 
         // need to build the list of strings from children
         m_InsideBox = TRUE;
-        CreateChildren( NULL, TRUE /* only this handler */);
+        CreateChildren( NULL, TRUE /* only this handler */,
+                        GetParamNode(_T("content")));
         wxString *strings = (wxString *) NULL;
         if( strList.GetCount() > 0 )
         {