X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7d8268a1d64de58aab194e4d8ae800c755990aad..687b91d266990129fbbb8c21d92fa4298b458352:/include/wx/mac/classic/textctrl.h 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();