made all XPM const to avoid warnings from mingw32 4.0 and adopt the code accordingly (patch 1872384)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-16 01:39:44 +00:00
parent 43cdc80617
commit 747d7d7c15
242 changed files with 13118 additions and 13124 deletions

View File

@@ -88,9 +88,6 @@ protected:
// XPMs with the art
// ----------------------------------------------------------------------------
// XPM hack: make the arrays const
#define static static const
#if defined(__WXGTK__)
#include "../../art/gtk/info.xpm"
#include "../../art/gtk/error.xpm"
@@ -152,9 +149,6 @@ protected:
#include "../../art/find.xpm"
#include "../../art/findrepl.xpm"
#undef static
wxBitmap wxDefaultArtProvider_CreateBitmap(const wxArtID& id)
{
// wxMessageBox icons: