git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15221
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#include "wx/textctrl.h"
#endif
+#include "wx/artprov.h"
#include "wx/sizer.h"
#include "widgets.h"
-#if 1
+
#include "icons/button.xpm"
// ----------------------------------------------------------------------------
#ifdef __WXUNIVERSAL__
if ( m_chkImage->GetValue() )
{
- m_button->SetImageLabel(wxTheApp->GetStdIcon(wxICON_INFORMATION));
+ m_button->SetImageLabel(wxArtProvider::GetIcon(wxART_INFORMATION));
}
#endif // wxUniv
wxLogMessage(_T("Test button clicked."));
}
-#endif
\ No newline at end of file