X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8268a1d64de58aab194e4d8ae800c755990aad..d642db66a5efc82d374b813022c72ba88bc50839:/include/wx/cocoa/textctrl.h?ds=sidebyside diff --git a/include/wx/cocoa/textctrl.h b/include/wx/cocoa/textctrl.h index 3746fc6a67..64e4f32a6c 100644 --- a/include/wx/cocoa/textctrl.h +++ b/include/wx/cocoa/textctrl.h @@ -4,7 +4,7 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id$ // Copyright: (c) 2003 David Elliott // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -17,7 +17,7 @@ // ======================================================================== // wxTextCtrl // ======================================================================== -class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase, protected wxCocoaNSTextField +class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase, protected wxCocoaNSTextField { DECLARE_DYNAMIC_CLASS(wxTextCtrl) DECLARE_EVENT_TABLE() @@ -50,12 +50,12 @@ public: // ------------------------------------------------------------------------ protected: virtual void Cocoa_didChangeText(void); + virtual void CocoaTarget_action(void); // ------------------------------------------------------------------------ // Implementation // ------------------------------------------------------------------------ public: virtual wxString GetValue() const; - virtual void SetValue(const wxString& value); virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; @@ -116,6 +116,8 @@ public: protected: virtual wxSize DoGetBestSize() const; + + virtual void DoSetValue(const wxString& value, int flags = 0); }; #endif // __WX_COCOA_TEXTCTRL_H__