X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cabb286d303c74eab6bce88675007eaaa8049b80..591cc82deb5bc6dd0af6047ecfa7ce7cf4f8d859:/src/msw/menuitem.cpp?ds=inline

diff --git a/src/msw/menuitem.cpp b/src/msw/menuitem.cpp
index e2d5bcbfbb..cc55d41996 100644
--- a/src/msw/menuitem.cpp
+++ b/src/msw/menuitem.cpp
@@ -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