X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ecb8b06ade47981aa828a3f7fb4278f822456d3..5b9255698ac3ade7e00e3d5efef95b223e3c9cae:/src/motif/app.cpp 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 {