diff --git a/src/msw/menu.cpp b/src/msw/menu.cpp index 3b8566fd2d..8798b7d2ce 100644 --- a/src/msw/menu.cpp +++ b/src/msw/menu.cpp @@ -931,7 +931,7 @@ void wxMenu::SetTitle(const wxString& label) // put the title string in bold face if ( !m_title.empty() ) { - SetDefaultMenuItem(GetHmenu(), (UINT_PTR)idMenuTitle); + SetDefaultMenuItem(GetHmenu(), (UINT)idMenuTitle); } #endif // Win32 }