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:
@@ -83,7 +83,7 @@ void wxColourRefData::AllocColour( GdkColormap *cmap )
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
#define M_COLDATA wx_static_cast(wxColourRefData*, m_refData)
|
||||
#define M_COLDATA static_cast<wxColourRefData*>(m_refData)
|
||||
|
||||
// GDK's values are in 0..65535 range, ours are in 0..255
|
||||
#define SHIFT 8
|
||||
@@ -108,7 +108,7 @@ bool wxColour::operator == ( const wxColour& col ) const
|
||||
return false;
|
||||
|
||||
wxColourRefData* refData = M_COLDATA;
|
||||
wxColourRefData* that_refData = wx_static_cast(wxColourRefData*, col.m_refData);
|
||||
wxColourRefData* that_refData = static_cast<wxColourRefData*>(col.m_refData);
|
||||
return refData->m_red == that_refData->m_red &&
|
||||
refData->m_green == that_refData->m_green &&
|
||||
refData->m_blue == that_refData->m_blue &&
|
||||
|
Reference in New Issue
Block a user