]> git.saurik.com Git - wxWidgets.git/commitdiff
create a non readonly combobox
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Mar 2006 20:55:12 +0000 (20:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 12 Mar 2006 20:55:12 +0000 (20:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/controls/controls.cpp

index 3530e49d8be2fb14602f8f496450d9c1ce987352..17daa27230a947946417597b2343f5e96a22b05a 100644 (file)
@@ -788,7 +788,7 @@ MyPanel::MyPanel( wxFrame *frame, int x, int y, int w, int h )
     m_combo = new MyComboBox( panel, ID_COMBO, _T("This"),
                               wxPoint(20,25), wxSize(120, wxDefaultCoord),
                               5, choices,
-                              wxCB_READONLY | wxPROCESS_ENTER);
+                              wxPROCESS_ENTER);
     m_combo->SetBackgroundColour(*wxBLUE);
 
     (void)new wxButton( panel, ID_COMBO_SEL_NUM, _T("Select #&2"), wxPoint(180,30), wxSize(140,30) );