]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/core/bitmap.cpp
compilation fix for old SDKs (VC6...) which don't define HDM_SETBITMAPMARGIN/Header_S...
[wxWidgets.git] / src / osx / core / bitmap.cpp
index 83e6b6c6f5b137913ad8078f9b71a0bbc62653ae..563eaf515aa031efa48a8d69c577b7bc704d7c84 100644 (file)
@@ -974,7 +974,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<const wxBitmapRefData *>(data));
 }
 
 void * wxBitmap::GetRawAccess() const