wx_USEIOSTREAMH changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Unknown (UG)
1998-10-16 09:56:38 +00:00
parent 5f31d8628c
commit 7cf98a658a
2 changed files with 15 additions and 2 deletions

View File

@@ -524,7 +524,11 @@ wxFindMenuItemId (wxFrame * frame, const wxString& menuString, const wxString& i
wxDebugStreamBuf::wxDebugStreamBuf(void)
{
if (allocate()) setp(base(),ebuf());
// <iostream> usage doesn't need this, and i have no idea how to simulate it.
#if wxUSE_IOSTREAMH
if (allocate())
setp(base(),ebuf());
#endif
}
int wxDebugStreamBuf::overflow(int WXUNUSED(i))