text->SetFont(wxFont(18, wxSWISS, wxNORMAL, wxBOLD));
#endif
//
-// text->SetBackgroundColour(wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BTNFACE));
+// text->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_BTNFACE));
m_text = new wxTextCtrl(this, -1, wxT(""),
wxDefaultPosition, wxSize(200, 160),
#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
wxStaticBitmap *bmp = new wxStaticBitmap(this, -1, icon);