]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use wxTheXXXList in wxXXX ctor/dtor, only objects explicitly created
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 1 Dec 2001 17:48:29 +0000 (17:48 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 1 Dec 2001 17:48:29 +0000 (17:48 +0000)
with FindOrCreateXXX() are managed by the lists

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/bitmap.h

index b7c8cdc11f84e02f16f5c295524a06420917056e..c5120eb4be903204119154d4e7a05e58936f335c 100644 (file)
@@ -136,7 +136,7 @@ public:
 
   // Copy constructors
   inline wxBitmap(const wxBitmap& bitmap)
-  { Ref(bitmap); if ( wxTheBitmapList ) wxTheBitmapList->AddBitmap(this); }
+  { Ref(bitmap); }
 
   // Initialize with raw data.
   wxBitmap(const char bits[], int width, int height, int depth = 1);