X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34f0083726b6fd8d642df975e8999ca0dc8af903..3cfde7c049bddf6fd3b4c2e35a6b8ecdcdc1d74f:/src/os2/pen.cpp diff --git a/src/os2/pen.cpp b/src/os2/pen.cpp index 301c86059c..e0af18abc5 100644 --- a/src/os2/pen.cpp +++ b/src/os2/pen.cpp @@ -171,7 +171,7 @@ wxPen::wxPen( bool wxPen::operator==(const wxPen& pen) const { const wxPenRefData * - penData = wx_static_cast(const wxPenRefData *, pen.m_refData); + penData = static_cast(pen.m_refData); // an invalid pen is only equal to another invalid pen return m_refData ? penData && *M_PENDATA == *penData : !penData; @@ -408,7 +408,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)); } void wxPen::SetColour( const wxColour& rColour )