X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ecb8b06ade47981aa828a3f7fb4278f822456d3..4a46a5df879c4f820d0a0a435b34c7d5e4793991:/src/motif/app.cpp?ds=sidebyside diff --git a/src/motif/app.cpp b/src/motif/app.cpp index fbe1d763fc..8b019fdf6e 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -753,11 +753,16 @@ bool wxApp::Yield(bool onlyIfNeeded) // TODO use XmGetPixmap (?) to get the really standard icons! +// XPM hack: make the arrays const +#define static static const + #include "wx/generic/info.xpm" #include "wx/generic/error.xpm" #include "wx/generic/question.xpm" #include "wx/generic/warning.xpm" +#undef static + wxIcon wxApp::GetStdIcon(int which) const {