]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/textctrl.h
Fixed ReadLine missing last character from text files with no final newline.
[wxWidgets.git] / include / wx / os2 / textctrl.h
index 5e3c487683acdc21e0fbabd4a846198bfe7f52c7..547e1191a9ccc55046525208f01b678f6ae48383 100644 (file)
@@ -30,7 +30,7 @@ public:
     {
         Create(pParent, vId, rsValue, rPos, rSize, lStyle, rValidator, rsName);
     }
-    ~wxTextCtrl();
+    virtual ~wxTextCtrl();
 
     bool Create( wxWindow*          pParent
                 ,wxWindowID         vId
@@ -112,7 +112,7 @@ public:
     virtual void SetInsertionPoint(long lPos);
     virtual void SetInsertionPointEnd(void);
     virtual long GetInsertionPoint(void) const;
-    virtual long GetLastPosition(void) const;
+    virtual wxTextPos GetLastPosition(void) const;
 
     virtual void SetSelection( long lFrom
                               ,long lTo