summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6e269b2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65472
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void ButtonTestCase::Bitmap()
{
void ButtonTestCase::Bitmap()
{
-#if !defined(__WXGTK__) && !defined(__WXOSX__)
//We start with no bitmaps
CPPUNIT_ASSERT(!m_button->GetBitmap().IsOk());
//We start with no bitmaps
CPPUNIT_ASSERT(!m_button->GetBitmap().IsOk());
- //Set bitmap should set a bitmap for all states
- m_button->SetBitmap(wxArtProvider::GetIcon(wxART_INFORMATION, wxART_OTHER,
+
+ m_button->SetBitmap(wxArtProvider::GetIcon(wxART_INFORMATION,
+ wxART_OTHER,
- CPPUNIT_ASSERT(m_button->GetBitmapDisabled().IsOk());
- CPPUNIT_ASSERT(m_button->GetBitmapPressed().IsOk());
- CPPUNIT_ASSERT(m_button->GetBitmapCurrent().IsOk());
- CPPUNIT_ASSERT(m_button->GetBitmapFocus().IsOk());
-#endif
+ CPPUNIT_ASSERT(m_button->GetBitmap().IsOk());