// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
+#ifdef __GNUG__
+ #pragma interface "textctrlbase.h"
+#endif
#include "wx/defs.h"
#include "wx/control.h" // the base class
#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
// --------
wxTextCtrlBase();
+ ~wxTextCtrlBase();
// accessors
// ---------
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
};
// ----------------------------------------------------------------------------