X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bcd741653d6aa65f79622b28e6c1382fd314fab..0b30bb0bda00908650d46b326ba04237f0d4121f:/include/wx/textbuf.h diff --git a/include/wx/textbuf.h b/include/wx/textbuf.h index 79e27e1799..dd6322404f 100644 --- a/include/wx/textbuf.h +++ b/include/wx/textbuf.h @@ -46,7 +46,7 @@ WX_DEFINE_EXPORTED_ARRAY_INT(wxTextFileType, ArrayFileType); #endif // wxUSE_TEXTBUFFER -class WXDLLEXPORT wxTextBuffer +class WXDLLIMPEXP_BASE wxTextBuffer { public: // constants and static functions @@ -147,7 +147,7 @@ public: // remove all lines void Clear() { m_aLines.Clear(); m_nCurLine = 0; } - + // change the buffer (default argument means "don't change type") // possibly in another format bool Write(wxTextFileType typeNew = wxTextFileType_None, @@ -161,7 +161,7 @@ protected: // ----- // default ctor, use Open(string) - wxTextBuffer() { } + wxTextBuffer() { m_isOpened = false; } // ctor from filename wxTextBuffer(const wxString& strBufferName);