replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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<wxGDIRefData *>(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<const wxGDIRefData *>(data));
|
||||
}
|
||||
|
||||
virtual wxGDIRefData *CreateGDIRefData() const = 0;
|
||||
|
Reference in New Issue
Block a user