initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,6 +95,7 @@ All:
|
||||
|
||||
- Fixed bug with parsing some dates in wxDateTime (Bob Pesner).
|
||||
- Fixed bug with parsing negative time zones in wxDateTime::ParseRfc822Date().
|
||||
- Initialize current line in wxTextBuffer ctor (Suzuki Masahiro).
|
||||
|
||||
All (GUI):
|
||||
|
||||
|
@@ -172,7 +172,7 @@ protected:
|
||||
// -----
|
||||
|
||||
// default ctor, use Open(string)
|
||||
wxTextBuffer() { m_isOpened = false; }
|
||||
wxTextBuffer() { m_nCurLine = 0; m_isOpened = false; }
|
||||
|
||||
// ctor from filename
|
||||
wxTextBuffer(const wxString& strBufferName);
|
||||
|
Reference in New Issue
Block a user