]> git.saurik.com Git - wxWidgets.git/commitdiff
adding support for wxCB_SORT
authorStefan Csomor <csomor@advancedconcepts.ch>
Thu, 14 Apr 2005 05:13:39 +0000 (05:13 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Thu, 14 Apr 2005 05:13:39 +0000 (05:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/combobox.cpp

index d653c99c059dd7a1ae1125923fc2f6e1d79eef3f..0b6c84836844d49958ac37ae791a228f1ec08051 100644 (file)
@@ -146,7 +146,7 @@ class wxComboBoxChoice : public wxChoice
 {
 public:
     wxComboBoxChoice(wxComboBox *cb, int style)
-        : wxChoice( cb , 1 )
+        : wxChoice( cb , 1 , wxDefaultPosition , wxDefaultSize , 0 , NULL , style & (wxCB_SORT) )
     {
         m_cb = cb;
     }