X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1c0b21e8da6de47255710e8f8652d5e27ae608fb..437a8892a107139e9f808f0a11792a56a55b4e25:/src/mgl/bitmap.cpp diff --git a/src/mgl/bitmap.cpp b/src/mgl/bitmap.cpp index a5e7521239..b58ad78567 100644 --- a/src/mgl/bitmap.cpp +++ b/src/mgl/bitmap.cpp @@ -182,7 +182,7 @@ wxGDIRefData *wxBitmap::CreateGDIRefData() const wxGDIRefData *wxBitmap::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxBitmapRefData(*wx_static_cast(const wxBitmapRefData *, data)); + return new wxBitmapRefData(*static_cast(data)); } bool wxBitmap::Create(int width, int height, int depth)