From fbbba98df450fd35641d32d289143040834e9826 Mon Sep 17 00:00:00 2001 From: Sylvain Bougnoux Date: Wed, 16 Feb 2000 09:32:34 +0000 Subject: [PATCH] Add Shivar's patch for using iostream git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/textcmn.cpp | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/common/textcmn.cpp b/src/common/textcmn.cpp index 5ccdea78f3..d1c0434cc2 100644 --- a/src/common/textcmn.cpp +++ b/src/common/textcmn.cpp @@ -48,11 +48,18 @@ // ---------------------------------------------------------------------------- wxTextCtrlBase::wxTextCtrlBase() +#if !wxUSE_IOSTREAMH + #ifndef NO_TEXT_WINDOW_STREAM + :streambuf() + #endif //NO_TEXT_WINDOW_STREAM +#endif //!wxUSE_IOSTREAMH { -#ifndef NO_TEXT_WINDOW_STREAM - if (allocate()) - setp(base(),ebuf()); -#endif // NO_TEXT_WINDOW_STREAM +#if wxUSE_IOSTREAMH + #ifndef NO_TEXT_WINDOW_STREAM + if (allocate()) + setp(base(),ebuf()); + #endif // NO_TEXT_WINDOW_STREAM +#endif //wxUSE_IOSTREAMH } // ---------------------------------------------------------------------------- -- 2.45.2