X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/023f27388f87672679e19a9fd6d1a53155b14b0d..364f3b070071ee73e417a3770342d779774288e8:/src/msw/artmsw.cpp diff --git a/src/msw/artmsw.cpp b/src/msw/artmsw.cpp index 10fd2621ee..22314f1e25 100644 --- a/src/msw/artmsw.cpp +++ b/src/msw/artmsw.cpp @@ -91,7 +91,7 @@ wxBitmap wxWindowsArtProvider::CreateBitmap(const wxArtID& id, /*static*/ void wxArtProvider::InitNativeProvider() { - Push(new wxWindowsArtProvider); + PushBack(new wxWindowsArtProvider); } // ---------------------------------------------------------------------------- @@ -124,6 +124,10 @@ wxSize wxArtProvider::GetNativeSizeHint(const wxArtClient& client) { return wxSize(16, 16); } + else if (client == wxART_LIST) + { + return wxSize(16, 16); + } return wxDefaultSize; }