+ dc.DrawText(m_message, 0, 2);
+
+ // Draw some bitmap/icon to ensure transparent bitmaps are indeed
+ // transparent on transparent windows
+ wxBitmap bmp(wxArtProvider::GetBitmap(wxART_WARNING, wxART_MENU));
+ wxIcon icon(wxArtProvider::GetIcon(wxART_GOTO_LAST, wxART_MENU));
+ dc.DrawBitmap (bmp, GetSize().x - 1 - bmp.GetWidth(), 2);
+ dc.DrawIcon(icon, GetSize().x - 1 - bmp.GetWidth()-icon.GetWidth(), 2);