Add Shivar's patch for using iostream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -48,11 +48,18 @@
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
wxTextCtrlBase::wxTextCtrlBase()
|
wxTextCtrlBase::wxTextCtrlBase()
|
||||||
|
#if !wxUSE_IOSTREAMH
|
||||||
|
#ifndef NO_TEXT_WINDOW_STREAM
|
||||||
|
:streambuf()
|
||||||
|
#endif //NO_TEXT_WINDOW_STREAM
|
||||||
|
#endif //!wxUSE_IOSTREAMH
|
||||||
{
|
{
|
||||||
|
#if wxUSE_IOSTREAMH
|
||||||
#ifndef NO_TEXT_WINDOW_STREAM
|
#ifndef NO_TEXT_WINDOW_STREAM
|
||||||
if (allocate())
|
if (allocate())
|
||||||
setp(base(),ebuf());
|
setp(base(),ebuf());
|
||||||
#endif // NO_TEXT_WINDOW_STREAM
|
#endif // NO_TEXT_WINDOW_STREAM
|
||||||
|
#endif //wxUSE_IOSTREAMH
|
||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user