diff --git a/include/wx/mac/bitmap.h b/include/wx/mac/bitmap.h index b7c8cdc11f..c5120eb4be 100644 --- a/include/wx/mac/bitmap.h +++ b/include/wx/mac/bitmap.h @@ -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);