X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a756f210019dd5b51331b7181c816d3882146a30..90f3fe56ee58fec86d7f938f9c630c0745f0a2dc:/src/generic/tipdlg.cpp diff --git a/src/generic/tipdlg.cpp b/src/generic/tipdlg.cpp index 6f9ba6f7df..33a019fc11 100644 --- a/src/generic/tipdlg.cpp +++ b/src/generic/tipdlg.cpp @@ -198,7 +198,13 @@ wxTipDialog::wxTipDialog(wxWindow *parent, #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);