X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0042c76f29969ec8de13ca51d337e80e70e337f1..93fdbfb70d67459f5b284ee9ca7061aeffee26d3:/include/wx/gdiobj.h?ds=sidebyside diff --git a/include/wx/gdiobj.h b/include/wx/gdiobj.h index da977d3939..a7f946d2d6 100644 --- a/include/wx/gdiobj.h +++ b/include/wx/gdiobj.h @@ -40,7 +40,7 @@ public: { // the cast here is safe because the derived classes always create // wxGDIRefData objects - return m_refData && wx_static_cast(wxGDIRefData *, m_refData)->IsOk(); + return m_refData && static_cast(m_refData)->IsOk(); } // don't use in the new code, use IsOk() instead @@ -74,7 +74,7 @@ protected: virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const { - return CloneGDIRefData(wx_static_cast(const wxGDIRefData *, data)); + return CloneGDIRefData(static_cast(data)); } virtual wxGDIRefData *CreateGDIRefData() const = 0;