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:
@@ -195,7 +195,7 @@ WXWPARAM wxMenuItem::GetMSWId() const
|
||||
// generating WM_COMMAND messages with negative high word of wParam), so
|
||||
// use the cast to ensure the id is in range
|
||||
return m_subMenu ? wxPtrToUInt(m_subMenu->GetHMenu())
|
||||
: wx_static_cast(unsigned short, GetId());
|
||||
: static_cast<unsigned short>(GetId());
|
||||
}
|
||||
|
||||
// get item state
|
||||
|
||||
Reference in New Issue
Block a user