#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
// creation
// --------
wxTextCtrl() { Init(); }
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
wxTextCtrl(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
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();