X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34f0083726b6fd8d642df975e8999ca0dc8af903..763163a80ae0d5a0684633e72f928302578c1214:/src/os2/bitmap.cpp diff --git a/src/os2/bitmap.cpp b/src/os2/bitmap.cpp index bdd712eeee..74db703010 100644 --- a/src/os2/bitmap.cpp +++ b/src/os2/bitmap.cpp @@ -97,7 +97,7 @@ void wxBitmapRefData::Free() wxGDIRefData* wxBitmap::CloneGDIRefData(const wxGDIRefData* data) const { - return new wxBitmapRefData(*wx_static_cast(const wxBitmapRefData *, data)); + return new wxBitmapRefData(*static_cast(data)); } // this function should be called from all wxBitmap ctors