]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/combocmn.cpp
fix compilation when one of wxUSE_LISTCTRL and wxUSE_TREECTRL is defined but the...
[wxWidgets.git] / src / common / combocmn.cpp
index 73bdb71e7eabeb4844934ebec64ad403c98c3eb7..a633163d30719a911163b9f504190a44e03edbdd 100644 (file)
@@ -828,7 +828,7 @@ wxComboCtrlBase::CreateTextCtrl(int style, const wxValidator& validator)
             m_ignoreEvtText = 0;
 
         m_text = new wxTextCtrl(this, wxID_ANY, m_valueString,
-                                wxDefaultPosition, wxSize(-1,10),
+                                wxDefaultPosition, wxSize(10,-1),
                                 style, validator);
     }
 }
@@ -1238,7 +1238,7 @@ void wxComboCtrlBase::PrepareBackground( wxDC&, const wxRect&, int ) const
 }
 #endif
 
-void wxComboCtrlBase::DrawButton( wxDC& dc, const wxRect& rect, bool paintBg )
+void wxComboCtrlBase::DrawButton( wxDC& dc, const wxRect& rect, int paintBg )
 {
     int drawState = m_btnState;