diff --git a/include/wx/combo.h b/include/wx/combo.h index d1b129f004..8d8a272ffa 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -484,7 +484,7 @@ protected: // Standard textctrl positioning routine. Just give it platform-dependant // textctrl coordinate adjustment. - void PositionTextCtrl( int textCtrlXAdjust, int textCtrlYAdjust ); + virtual void PositionTextCtrl( int textCtrlXAdjust, int textCtrlYAdjust ); // event handlers void OnSizeEvent( wxSizeEvent& event );