X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/324eeecb3cdc9522e136af6670443148772b412a..87cc1cc772c106ebd7e9bae9941ed2c002f4706a:/include/wx/palmos/textctrl.h?ds=sidebyside diff --git a/include/wx/palmos/textctrl.h b/include/wx/palmos/textctrl.h index 95b50e33c7..6b1bb1ba54 100644 --- a/include/wx/palmos/textctrl.h +++ b/include/wx/palmos/textctrl.h @@ -12,10 +12,6 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "textctrl.h" -#endif - class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase { public: @@ -35,7 +31,7 @@ public: Create(parent, id, value, pos, size, style, validator, name); } - ~wxTextCtrl(); + virtual ~wxTextCtrl(); bool Create(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, @@ -51,8 +47,6 @@ public: virtual wxString GetValue() const; virtual void SetValue(const wxString& value); - virtual wxString GetRange(long from, long to) const; - virtual int GetLineLength(long lineNo) const; virtual wxString GetLineText(long lineNo) const; virtual int GetNumberOfLines() const; @@ -70,8 +64,8 @@ public: virtual void Replace(long from, long to, const wxString& value); virtual void Remove(long from, long to); - // load the controls contents from the file - virtual bool LoadFile(const wxString& file); + // load the control's contents from the file + virtual bool DoLoadFile(const wxString& file, int fileType); // clears the dirty flag virtual void MarkDirty();