X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1777b9bbf4573dabecf4a3256d0d3c2c0c2a3fdf..fb20fa43a07ce52feb43a4b26514fc7a6a11a6f5:/include/wx/textctrl.h?ds=sidebyside diff --git a/include/wx/textctrl.h b/include/wx/textctrl.h index 279d9160a8..02434c3377 100644 --- a/include/wx/textctrl.h +++ b/include/wx/textctrl.h @@ -15,6 +15,9 @@ // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- +#ifdef __GNUG__ + #pragma interface "textctrlbase.h" +#endif #include "wx/defs.h" #include "wx/control.h" // the base class @@ -29,7 +32,7 @@ #ifndef NO_TEXT_WINDOW_STREAM #if wxUSE_STD_IOSTREAM - #include "ioswrap.h" // for iostream classes if we need them + #include "wx/ioswrap.h" // for iostream classes if we need them #else // !wxUSE_STD_IOSTREAM // can't compile this feature in if we don't use streams at all #define NO_TEXT_WINDOW_STREAM @@ -61,6 +64,7 @@ public: // -------- wxTextCtrlBase(); + ~wxTextCtrlBase(); // accessors // --------- @@ -152,10 +156,17 @@ public: bool Modified() const { return IsModified(); } #endif -private: +protected: // the name of the last file loaded with LoadFile() which will be used by // SaveFile() by default wxString m_filename; + +private: +#ifndef NO_TEXT_WINDOW_STREAM +#if !wxUSE_IOSTREAMH + char *m_streambuf; +#endif +#endif }; // ----------------------------------------------------------------------------