X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/023f27388f87672679e19a9fd6d1a53155b14b0d..4e15d1caa03346c126015019c1fdf093033ef40b:/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; }