]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/textctrl.h
Build fix for wxMSWUniv makefile driven builds. univ/setup0.h should be autoregenerat...
[wxWidgets.git] / include / wx / cocoa / textctrl.h
index 5205ed9f6475b74a71cd50642c2d7ab23263cec3..3746fc6a672755ee066805d24a35d7351cb012a5 100644 (file)
@@ -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__
@@ -76,6 +76,7 @@ public:
     virtual void Remove(long from, long to);
 
     // clears the dirty flag
+    virtual void MarkDirty();
     virtual void DiscardEdits();
 
     // writing text inserts it at the current position, appending always
@@ -107,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__