CPPUNIT_TEST( FocusEvent );
CPPUNIT_TEST( Mouse );
CPPUNIT_TEST( Properties );
+#if wxUSE_TOOLTIPS
CPPUNIT_TEST( ToolTip );
+#endif // wxUSE_TOOLTIPS
CPPUNIT_TEST( Help );
CPPUNIT_TEST( Parent );
CPPUNIT_TEST( Siblings );
void FocusEvent();
void Mouse();
void Properties();
+#if wxUSE_TOOLTIPS
void ToolTip();
+#endif // wxUSE_TOOLTIPS
void Help();
void Parent();
void Siblings();
CPPUNIT_ASSERT_EQUAL(wxID_HIGHEST + 10, m_window->GetId());
}
+#if wxUSE_TOOLTIPS
void WindowTestCase::ToolTip()
{
CPPUNIT_ASSERT(!m_window->GetToolTip());
CPPUNIT_ASSERT_EQUAL(tip, m_window->GetToolTip());
CPPUNIT_ASSERT_EQUAL("other tip", m_window->GetToolTipText());
}
+#endif // wxUSE_TOOLTIPS
void WindowTestCase::Help()
{