X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3071f2ccfa5577d566a8b0dd8cba1ba17c1d38af..a4609ab847819b47c996674420871f4514d50625:/src/common/combocmn.cpp diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index 73bdb71e7e..a633163d30 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -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;