init m_isOpened in ctor (bug 736208)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -147,7 +147,7 @@ public:
|
|||||||
|
|
||||||
// remove all lines
|
// remove all lines
|
||||||
void Clear() { m_aLines.Clear(); m_nCurLine = 0; }
|
void Clear() { m_aLines.Clear(); m_nCurLine = 0; }
|
||||||
|
|
||||||
// change the buffer (default argument means "don't change type")
|
// change the buffer (default argument means "don't change type")
|
||||||
// possibly in another format
|
// possibly in another format
|
||||||
bool Write(wxTextFileType typeNew = wxTextFileType_None,
|
bool Write(wxTextFileType typeNew = wxTextFileType_None,
|
||||||
@@ -161,7 +161,7 @@ protected:
|
|||||||
// -----
|
// -----
|
||||||
|
|
||||||
// default ctor, use Open(string)
|
// default ctor, use Open(string)
|
||||||
wxTextBuffer() { }
|
wxTextBuffer() { m_isOpened = false; }
|
||||||
|
|
||||||
// ctor from filename
|
// ctor from filename
|
||||||
wxTextBuffer(const wxString& strBufferName);
|
wxTextBuffer(const wxString& strBufferName);
|
||||||
|
Reference in New Issue
Block a user