From 7716a165ef3d5f3075b4aa771decc0001e68f6b4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 27 Dec 2011 01:21:36 +0000 Subject: [PATCH] Don't use deprecated wxArtProvider::Insert(). Ironically, it was 2.6 compatibility code that was using the function deprecated after 2.8. In any case, just use the newest name for it. Closes #13393. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/artprov.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index 69c6928528..c51c08780c 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -407,7 +407,7 @@ bool wxArtProvider::HasNativeProvider() /* static */ void wxArtProvider::InsertProvider(wxArtProvider *provider) { - Insert(provider); + PushBack(provider); } /* static */ bool wxArtProvider::PopProvider() -- 2.45.2