]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/textbuf.h
don't draw borders for bitmap buttons with wxBORDER_NONE style
[wxWidgets.git] / include / wx / textbuf.h
index fae3b1209520107e4a1448117d05e0a0b0f56e0d..a5d39703ca185561568ae4d2b172c93c6c7a20ad 100644 (file)
@@ -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);