]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/datetime/datetimetest.cpp
Remove the item before notifying about it in wxDataViewIndexListModel.
[wxWidgets.git] / tests / datetime / datetimetest.cpp
index 8d1d4aa38b9bf0f3b5b32adace3b6b0a08d2a90f..f5af743b0c92019f52558a7ca5b923940fe839b1 100644 (file)
 
 #if wxUSE_DATETIME
 
-#include "wx/datetime.h"
 #include "wx/wxcrt.h"       // for wxStrstr()
 
-// need this to be able to use CPPUNIT_ASSERT_EQUAL with wxDateTime objects
-static std::ostream& operator<<(std::ostream& ostr, const wxDateTime& dt)
-{
-    ostr << dt.FormatISOCombined(' ');
-
-    return ostr;
-}
-
-WX_CPPUNIT_ALLOW_EQUALS_TO_INT(wxDateTime::wxDateTime_t)
+#include "testdate.h"
 
 // to test Today() meaningfully we must be able to change the system date which
 // is not usually the case, but if we're under Win32 we can try it -- define