]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
tweak GetAppDir() to recognize more debug build directory suffixes
[wxWidgets.git] / src / msw / menuitem.cpp
index e2d5bcbfbbdcd0cb0651606b150aac09fc9321a5..cc55d4199646b42483ba76e7fa7aaadbe0810f26 100644 (file)
@@ -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