#ifndef _WX_TEXTCTRL_H_
#define _WX_TEXTCTRL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "textctrl.h"
#endif
-WXDLLEXPORT_DATA(extern const char*) wxTextCtrlNameStr;
-WXDLLEXPORT_DATA(extern const char*) wxEmptyString;
-
// Single-line text item
class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
{
virtual void GetSelection(long* from, long* to) const;
virtual bool IsEditable() const ;
- virtual bool LoadFile(const wxString& file);
- virtual bool SaveFile(const wxString& file);
virtual void WriteText(const wxString& text);
virtual void AppendText(const wxString& text);
+ virtual void MarkDirty();
virtual void DiscardEdits();
virtual bool IsModified() const;