X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94e785e1285939ee399ace13c2eddf5ed6cb3dd8..1a838ff58bfd0fd040156a16ce6fd804e20b5f46:/include/wx/motif/textctrl.h?ds=sidebyside diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 7e6a733fa3..c8037713c7 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -12,7 +12,7 @@ #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 @@ -86,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;