]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
handle all wxROLE_XXX values in wxConvertToWindowsRole()
[wxWidgets.git] / src / common / combocmn.cpp
index 7073151fa7bb3d9688e79aef3c1dad75ba4b6ed1..9160f1b710beeb33fe99aa74f1ec3ab8c62209ef 100644 (file)
@@ -828,11 +828,8 @@ wxComboCtrlBase::CreateTextCtrl(int style, const wxValidator& validator)
             m_ignoreEvtText = 0;
 
         m_text = new wxTextCtrl(this, wxID_ANY, m_valueString,
-                                wxDefaultPosition, wxDefaultSize,
+                                wxDefaultPosition, wxSize(10,-1),
                                 style, validator);
-
-        // This is required for some platforms (GTK+ atleast)
-        m_text->SetSizeHints(2,4);
     }
 }