X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..4f32b3cf15277e10835d359acb8b3e87ee041699:/include/wx/mac/classic/textctrl.h diff --git a/include/wx/mac/classic/textctrl.h b/include/wx/mac/classic/textctrl.h index 7f0d774304..09783ec921 100644 --- a/include/wx/mac/classic/textctrl.h +++ b/include/wx/mac/classic/textctrl.h @@ -14,7 +14,7 @@ #include "wx/control.h" -WXDLLEXPORT_DATA(extern const wxChar*) wxTextCtrlNameStr; +WXDLLEXPORT_DATA(extern const wxChar) wxTextCtrlNameStr[]; // Single-line text item class WXDLLEXPORT wxTextCtrl: public wxTextCtrlBase @@ -25,7 +25,7 @@ public: // creation // -------- wxTextCtrl() { Init(); } - ~wxTextCtrl(); + virtual ~wxTextCtrl(); wxTextCtrl(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, @@ -69,9 +69,6 @@ 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); - // sets/clears the dirty flag virtual void MarkDirty(); virtual void DiscardEdits();