]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use deprecated wxArtProvider::Insert().
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Dec 2011 01:21:36 +0000 (01:21 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 27 Dec 2011 01:21:36 +0000 (01:21 +0000)
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

index 69c692852870f14460b3b92aa33706dcbc26fca7..c51c08780c43108917a17e4a2b0892c6172bf1a9 100644 (file)
@@ -407,7 +407,7 @@ bool wxArtProvider::HasNativeProvider()
 
 /* static */ void wxArtProvider::InsertProvider(wxArtProvider *provider)
 {
-    Insert(provider);
+    PushBack(provider);
 }
 
 /* static */ bool wxArtProvider::PopProvider()