]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cppunit.h
#4479: wx.ComboBox needs a SetFont method
[wxWidgets.git] / include / wx / cppunit.h
index a7affd50ae9c9a03d42ac45fdb3996bf47a7873f..3b4281cfa14808138453b14e5f44dab610896a8e 100644 (file)
         }                                                                     \
     }
 
+// Use this macro to compare the expected time_t value with the result of not
+// necessarily time_t type
+#define WX_ASSERT_TIME_T_EQUAL(t, n) CPPUNIT_ASSERT_EQUAL((t), (time_t)(n))
+
 // Use this macro to assert with the given formatted message (it should contain
 // the format string and arguments in a separate pair of parentheses)
 #define WX_ASSERT_MESSAGE(msg, cond) \