X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8268a1d64de58aab194e4d8ae800c755990aad..f08b7bec7f042cc8df4be88504f50961dae36697:/include/wx/mac/classic/textctrl.h?ds=sidebyside diff --git a/include/wx/mac/classic/textctrl.h b/include/wx/mac/classic/textctrl.h index 23bea424ba..09783ec921 100644 --- a/include/wx/mac/classic/textctrl.h +++ b/include/wx/mac/classic/textctrl.h @@ -12,13 +12,9 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "textctrl.h" -#endif - #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 @@ -29,7 +25,7 @@ public: // creation // -------- wxTextCtrl() { Init(); } - ~wxTextCtrl(); + virtual ~wxTextCtrl(); wxTextCtrl(wxWindow *parent, wxWindowID id, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, @@ -73,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();