return tmpOut;
}
+wxString wxStripMenuCodes(const wxString& str)
+{
+ char *buf = new char[str.Length() + 1];
+ wxStripMenuCodes((char*) (const char*) str, buf);
+ wxString str1(buf);
+ delete[] buf;
+ return str1;
+}
/*
* Window search functions
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))