X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/osx/combobox.h?ds=sidebyside diff --git a/include/wx/osx/combobox.h b/include/wx/osx/combobox.h index 69c96872f9..92ff947afe 100644 --- a/include/wx/osx/combobox.h +++ b/include/wx/osx/combobox.h @@ -126,7 +126,7 @@ class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase virtual wxClientDataType GetClientDataType() const; // osx specific event handling common for all osx-ports - + virtual bool OSXHandleClicked( double timestampsec ); wxCONTROL_ITEMCONTAINER_CLIENTDATAOBJECT_RECAST @@ -141,6 +141,10 @@ protected: virtual void DoDeleteOneItem(unsigned int n); virtual void DoClear(); + // wxTextEntry functions + virtual wxString DoGetValue() const; + virtual wxWindow *GetEditableWindow() { return this; } + // override the base class virtuals involved in geometry calculations virtual wxSize DoGetBestSize() const; virtual void DoMoveWindow(int x, int y, int width, int height); @@ -154,6 +158,8 @@ protected: virtual void SetClientDataType(wxClientDataType clientDataItemsType); + virtual void EnableTextChangedEvents(bool enable); + // the subcontrols wxComboBoxText* m_text; wxComboBoxChoice* m_choice;