fix for uninit vars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6e50d0eb2f
commit
a2bd1fbb8b
@ -81,22 +81,24 @@ void wxStreamBuffer::Init()
|
||||
|
||||
wxStreamBuffer::wxStreamBuffer(wxStreamBase& stream, BufMode mode)
|
||||
{
|
||||
Init();
|
||||
|
||||
m_stream = &stream;
|
||||
m_mode = mode;
|
||||
|
||||
m_flushable = TRUE;
|
||||
m_destroystream = FALSE;
|
||||
m_destroybuf = FALSE;
|
||||
}
|
||||
|
||||
wxStreamBuffer::wxStreamBuffer(BufMode mode)
|
||||
{
|
||||
Init();
|
||||
|
||||
m_stream = new wxStreamBase;
|
||||
m_mode = mode;
|
||||
|
||||
m_flushable = FALSE;
|
||||
m_destroystream = TRUE;
|
||||
m_destroybuf = FALSE;
|
||||
}
|
||||
|
||||
wxStreamBuffer::wxStreamBuffer(const wxStreamBuffer& buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user