X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/64c288fa47480385ad656ae3249b5b131340c1d6..209ce629ac70e21ba2239c36a9c2ad7571964ce2:/src/common/artstd.cpp diff --git a/src/common/artstd.cpp b/src/common/artstd.cpp index 35f10467b9..c5a9679e38 100644 --- a/src/common/artstd.cpp +++ b/src/common/artstd.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: artstd.cpp +// Name: src/common/artstd.cpp // Purpose: stock wxArtProvider instance with default wxWin art // Author: Vaclav Slavik // Modified by: @@ -20,8 +20,11 @@ #pragma hdrstop #endif +#ifndef WX_PRECOMP + #include "wx/image.h" +#endif + #include "wx/artprov.h" -#include "wx/image.h" // ---------------------------------------------------------------------------- // wxDefaultArtProvider @@ -71,10 +74,10 @@ protected: /*static*/ void wxArtProvider::InitStdProvider() { - wxArtProvider::PushProvider(new wxDefaultArtProvider); + wxArtProvider::Push(new wxDefaultArtProvider); } -#if !defined(__WXGTK20__) || defined(__WXUNIVERSAL__) +#if !(defined(__WXGTK20__) || defined(__WXMAC__)) || defined(__WXUNIVERSAL__) /*static*/ void wxArtProvider::InitNativeProvider() { }