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:
@@ -785,7 +785,7 @@ size_t wxGenericCalendarCtrl::GetWeek(const wxDateTime& date) const
|
||||
wxSize wxGenericCalendarCtrl::DoGetBestSize() const
|
||||
{
|
||||
// calc the size of the calendar
|
||||
wx_const_cast(wxGenericCalendarCtrl *, this)->RecalcGeometry();
|
||||
const_cast<wxGenericCalendarCtrl *>(this)->RecalcGeometry();
|
||||
|
||||
wxCoord width = 7*m_widthCol,
|
||||
height = 7*m_heightRow + m_rowOffset;
|
||||
|
||||
Reference in New Issue
Block a user