]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
bugfix for SetString in a wxCheckListBox
[wxWidgets.git] / src / motif / app.cpp
index fbe1d763fc41a8f652af4312caaba43c49105762..8b019fdf6e64ab9c51d6ee1082329f777fefe230 100644 (file)
@@ -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
 {