// the same native GDI object
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_FWD_CORE wxGDIRefData : public wxObjectRefData
+class WXDLLIMPEXP_CORE wxGDIRefData : public wxObjectRefData
{
public:
// override this in the derived classes to check if this data object is
{
// 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<wxGDIRefData *>(m_refData)->IsOk();
}
// don't use in the new code, use IsOk() instead
virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const
{
- return CloneGDIRefData(wx_static_cast(const wxGDIRefData *, data));
+ return CloneGDIRefData(static_cast<const wxGDIRefData *>(data));
}
virtual wxGDIRefData *CreateGDIRefData() const = 0;