X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c84030e020e56735cb4b7c1534e99d21a8bb48c0..ebfee17940b5123d0527b63bcf23e5f27002092e:/include/wx/osx/combobox.h diff --git a/include/wx/osx/combobox.h b/include/wx/osx/combobox.h index bf1b20861b..81be73fbb4 100644 --- a/include/wx/osx/combobox.h +++ b/include/wx/osx/combobox.h @@ -132,7 +132,9 @@ class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase virtual bool CanRedo() const; virtual wxClientDataType GetClientDataType() const; -#endif + + virtual wxTextWidgetImpl* GetTextPeer() const; +#endif // wxOSX_USE_CARBON @@ -146,10 +148,6 @@ class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase WX_DECLARE_CONTROL_CONTAINER(); #endif - // only used by the native Cocoa combobox, but we must define it everywhere - // to maintain the wxTextEntry abstraction. - virtual wxTextWidgetImpl * GetTextPeer() const; - #if wxOSX_USE_COCOA wxComboWidgetImpl* GetComboPeer() const; #endif