X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ff64980aaae854d35260b57449dd46fb2f70954..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/msw/bitmap.h?ds=sidebyside diff --git a/include/wx/msw/bitmap.h b/include/wx/msw/bitmap.h index 701c4a8c9e..90bcc1e7f3 100644 --- a/include/wx/msw/bitmap.h +++ b/include/wx/msw/bitmap.h @@ -46,7 +46,7 @@ public: wxBitmap() { Init(); } // Copy constructors - wxBitmap(const wxBitmap& bitmap) { Init(); Ref(bitmap); } + wxBitmap(const wxBitmap& bitmap) : wxGDIImage(bitmap) { Init(); Ref(bitmap); } // Initialize with raw data wxBitmap(const char bits[], int width, int height, int depth = 1);