]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/arttango.cpp
Return NULL from wxWindow::GetCapture() when the capture is being lost.
[wxWidgets.git] / src / common / arttango.cpp
index 43d40e2064a40843f24a1cfdae2d5ae426f46017..156ae8fc06cdd9f63264678b1e8028b9be14977b 100644 (file)
@@ -3,7 +3,6 @@
 // Purpose:     art provider using embedded PNG versions of Tango icons
 // Author:      Vadim Zeitlin
 // Created:     2010-12-27
 // Purpose:     art provider using embedded PNG versions of Tango icons
 // Author:      Vadim Zeitlin
 // Created:     2010-12-27
-// RCS-ID:      $Id: wxhead.cpp,v 1.11 2010-04-22 12:44:51 zeitlin Exp $
 // Copyright:   (c) 2010 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 // Copyright:   (c) 2010 Vadim Zeitlin <vadim@wxwidgets.org>
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
@@ -27,6 +26,7 @@
 
 #ifndef WX_PRECOMP
     #include "wx/image.h"
 
 #ifndef WX_PRECOMP
     #include "wx/image.h"
+    #include "wx/log.h"
 #endif // WX_PRECOMP
 
 #include "wx/artprov.h"
 #endif // WX_PRECOMP
 
 #include "wx/artprov.h"
@@ -321,7 +321,7 @@ wxTangoArtProvider::CreateBitmap(const wxArtID& id,
 /* static */
 void wxArtProvider::InitTangoProvider()
 {
 /* static */
 void wxArtProvider::InitTangoProvider()
 {
-    wxArtProvider::Push(new wxTangoArtProvider);
+    wxArtProvider::PushBack(new wxTangoArtProvider);
 }
 
 #endif // wxUSE_ARTPROVIDER_TANGO
 }
 
 #endif // wxUSE_ARTPROVIDER_TANGO