X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6519b40fe9f5e4706e02497fe01ff71c65079d6..c17eafaaf1510f008f8114afa85a11f0f08d5570:/include/wx/cocoa/textctrl.h diff --git a/include/wx/cocoa/textctrl.h b/include/wx/cocoa/textctrl.h index f6ea42dd6e..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,14 +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 void ChangeValue(const wxString &value); virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; @@ -118,6 +116,8 @@ public: protected: virtual wxSize DoGetBestSize() const; + + virtual void DoSetValue(const wxString& value, int flags = 0); }; #endif // __WX_COCOA_TEXTCTRL_H__