]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/bitmap.h
Fix MinGW compilation.
[wxWidgets.git] / include / wx / motif / bitmap.h
index 785509cb695f6e5cb86308742ccf7a3291ef130e..d44ba42386f74f293ddbb39c8e6f0f0ad4749842 100644 (file)
@@ -136,7 +136,7 @@ public:
 
   // Copy constructors
   wxBitmap(const wxBitmap& bitmap)
-  { Ref(bitmap); if ( wxTheBitmapList ) wxTheBitmapList->AddBitmap(this); }
+  { Ref(bitmap); }
 
   // Initialize with raw XBM data
   wxBitmap(const char bits[], int width, int height, int depth = 1);