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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user