X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc1d4ff2a0c78666f35bbfa34fcc609d7862709..f5e0b4bc7c729ff41e66fb7894fb1387f860bdb2:/include/wx/motif/textctrl.h diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 4aeec5e504..c8037713c7 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -12,12 +12,10 @@ #ifndef _WX_TEXTCTRL_H_ #define _WX_TEXTCTRL_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "textctrl.h" #endif -WXDLLEXPORT_DATA(extern const char*) wxEmptyString; - // Single-line text item class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase { @@ -88,6 +86,7 @@ public: virtual void WriteText(const wxString& text); virtual void AppendText(const wxString& text); + virtual void MarkDirty(); virtual void DiscardEdits(); virtual bool IsModified() const;