diff --git a/include/wx/generic/combo.h b/include/wx/generic/combo.h index dc9155394f..9c5da101d0 100644 --- a/include/wx/generic/combo.h +++ b/include/wx/generic/combo.h @@ -16,6 +16,8 @@ // Only define generic if native doesn't have all the features #if !defined(wxCOMBOCONTROL_FULLY_FEATURED) +#include "wx/containr.h" + // ---------------------------------------------------------------------------- // Generic wxComboCtrl // ---------------------------------------------------------------------------- @@ -32,11 +34,12 @@ extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[]; -class WXDLLIMPEXP_CORE wxGenericComboCtrl : public wxComboCtrlBase +class WXDLLIMPEXP_CORE wxGenericComboCtrl + : public wxNavigationEnabled { public: // ctors and such - wxGenericComboCtrl() : wxComboCtrlBase() { Init(); } + wxGenericComboCtrl() { Init(); } wxGenericComboCtrl(wxWindow *parent, wxWindowID id = wxID_ANY, @@ -46,7 +49,6 @@ public: long style = 0, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxComboBoxNameStr) - : wxComboCtrlBase() { Init();