diff --git a/src/msw/bitmap.cpp b/src/msw/bitmap.cpp index b5bd43e892..d5b37d2cfd 100644 --- a/src/msw/bitmap.cpp +++ b/src/msw/bitmap.cpp @@ -720,7 +720,7 @@ bool wxBitmapHandler::Create(wxGDIImage *image, { wxBitmap *bitmap = wxDynamicCast(image, wxBitmap); - return bitmap ? Create(bitmap, data, width, height, depth) : FALSE; + return bitmap ? Create(bitmap, data, flags, width, height, depth) : FALSE; } bool wxBitmapHandler::Load(wxGDIImage *image,