X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3a9fa0d6b59c5c299766b3ed71ccadeeebf3dbb8..e4277538a535d6d6c049f0b0ead9ed2b07cd93f2:/include/wx/cocoa/textctrl.h diff --git a/include/wx/cocoa/textctrl.h b/include/wx/cocoa/textctrl.h index 322fb99b48..3746fc6a67 100644 --- a/include/wx/cocoa/textctrl.h +++ b/include/wx/cocoa/textctrl.h @@ -4,9 +4,9 @@ // Author: David Elliott // Modified by: // Created: 2003/03/16 -// RCS-ID: $Id: +// RCS-ID: $Id: // Copyright: (c) 2003 David Elliott -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef __WX_COCOA_TEXTCTRL_H__ @@ -108,12 +108,14 @@ public: virtual void SetInsertionPoint(long pos); virtual void SetInsertionPointEnd(); virtual long GetInsertionPoint() const; - virtual long GetLastPosition() const; + virtual wxTextPos GetLastPosition() const; virtual void SetSelection(long from, long to); // virtual void SelectAll(); virtual void SetEditable(bool editable); +protected: + virtual wxSize DoGetBestSize() const; }; #endif // __WX_COCOA_TEXTCTRL_H__