Stream inserter to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -78,6 +78,16 @@
|
|||||||
WXTEST_ANY_WITH_CONDITION(suiteName, Condition, testMethod, CPPUNIT_TEST_FAIL(testMethod))
|
WXTEST_ANY_WITH_CONDITION(suiteName, Condition, testMethod, CPPUNIT_TEST_FAIL(testMethod))
|
||||||
|
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// stream inserter for wxString
|
||||||
|
//
|
||||||
|
|
||||||
|
inline std::ostream& operator<<(std::ostream& o, const wxString& s)
|
||||||
|
{
|
||||||
|
return o << s.mb_str();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Some more compiler warning tweaking and auto linking.
|
// Some more compiler warning tweaking and auto linking.
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user