git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14718
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#endif // WX_PRECOMP
#include "wx/statline.h"
#endif // WX_PRECOMP
#include "wx/statline.h"
m_text->SetFont(wxFont(14, wxROMAN, wxNORMAL, wxNORMAL));
#endif
m_text->SetFont(wxFont(14, wxROMAN, wxNORMAL, wxNORMAL));
#endif
-#if defined(__WXMSW__) || defined(__WXPM__)
- wxIcon icon("wxICON_TIP");
-#else
- // XPM hack: make the arrays const
- #define static static const
-
- #include "wx/generic/tip.xpm"
-
- #undef static
-
- wxIcon icon(tipIcon);
-#endif
+ wxIcon icon = wxArtProvider::GetIcon(wxART_TIP, wxART_CMN_DIALOG);
wxStaticBitmap *bmp = new wxStaticBitmap(this, -1, icon);
// 2) put them in boxes
wxStaticBitmap *bmp = new wxStaticBitmap(this, -1, icon);
// 2) put them in boxes