diff --git a/include/wx/combo.h b/include/wx/combo.h index c3699fae7c..797658c901 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -303,7 +303,7 @@ public: const wxBitmap& bmpHover = wxNullBitmap, const wxBitmap& bmpDisabled = wxNullBitmap ); -#if WXWIN_COMPATIBILITY_2_6 +#if WXWIN_COMPATIBILITY_2_8 // // This will set the space in pixels between left edge of the control and the // text, regardless whether control is read-only (ie. no wxTextCtrl) or not. diff --git a/src/common/combocmn.cpp b/src/common/combocmn.cpp index e2ca80fdee..fafd36425e 100644 --- a/src/common/combocmn.cpp +++ b/src/common/combocmn.cpp @@ -2313,7 +2313,7 @@ wxPoint wxComboCtrlBase::DoGetMargins() const return wxPoint(m_marginLeft, -1); } -#if WXWIN_COMPATIBILITY_2_6 +#if WXWIN_COMPATIBILITY_2_8 void wxComboCtrlBase::SetTextIndent( int indent ) { if ( indent < 0 )