X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccb234b4d0b4f52ddb3100b55b53b32d1ea78d52..21eefb768a6613cc2275cc0595e21d9b165802ee:/include/wx/motif/textctrl.h diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 113a3f301c..c8037713c7 100644 --- a/include/wx/motif/textctrl.h +++ b/include/wx/motif/textctrl.h @@ -12,13 +12,10 @@ #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 { @@ -89,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;