X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e960ba596b4835e430fc22bb6f9f74436f96c2c5..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/cocoa/combobox.h diff --git a/include/wx/cocoa/combobox.h b/include/wx/cocoa/combobox.h index 3a8a9e2d71..d0f1ad8eda 100644 --- a/include/wx/cocoa/combobox.h +++ b/include/wx/cocoa/combobox.h @@ -40,7 +40,7 @@ public: // ======================================================================== // wxComboBox // ======================================================================== -class WXDLLEXPORT wxComboBox : public wxControl, public wxComboBoxBase, protected wxCocoaNSComboBox, protected wxCocoaNSTextField +class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase, protected wxCocoaNSComboBox, protected wxCocoaNSTextField { DECLARE_DYNAMIC_CLASS(wxComboBox) DECLARE_EVENT_TABLE() @@ -149,6 +149,10 @@ public: virtual void GetSelection(long *from, long *to) const; virtual bool IsEditable() const; virtual void SetEditable(bool editable); + +private: + // implement wxTextEntry pure virtual method + virtual wxWindow *GetEditableWindow() { return this; } }; #endif // __WX_COCOA_COMBOBOX_H__