X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dabe431382e288fc1ccc561f62c400895ac0fa..079f4130b861d094c79e0952966caad8b85dab67:/src/osx/pen.cpp diff --git a/src/osx/pen.cpp b/src/osx/pen.cpp index e902ada8c6..55f5f0c4cf 100644 --- a/src/osx/pen.cpp +++ b/src/osx/pen.cpp @@ -151,7 +151,7 @@ wxGDIRefData *wxPen::CreateGDIRefData() const wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data)); + return new wxPenRefData(*static_cast(data)); } bool wxPen::operator==(const wxPen& pen) const