]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cppunit.h
revert r60023 and really fixed compilation problems caused by r60017 by providing...
[wxWidgets.git] / include / wx / cppunit.h
index 3f74a8af746cd3e26366018f83af5cb5a9b9bd9c..2cdadbbd776d5a15ad041364c87cbc251013a697 100644 (file)
@@ -87,6 +87,15 @@ CPPUNIT_NS_BEGIN
 
 // provide an overload of cppunit assertEquals(T, T) which can be used to
 // compare wxStrings directly with C strings
+inline void
+assertEquals(const char *expected,
+             const char *actual,
+             CppUnit::SourceLine sourceLine,
+             const std::string& message)
+{
+    assertEquals(wxString(expected), wxString(actual), sourceLine, message);
+}
+
 inline void
 assertEquals(const char *expected,
              const wxString& actual,