X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e1aae5288576cd0066d2cbbf92935a969110bcea..c5602b4a8d5c6d0208b21859f9081aa51bea908a:/include/wx/motif/textctrl.h diff --git a/include/wx/motif/textctrl.h b/include/wx/motif/textctrl.h index 59d3510eb1..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 { @@ -87,10 +84,9 @@ public: 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;