warnings for mingw32 compilation fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-10-13 18:52:05 +00:00
parent 4882bf1b78
commit a17e237f4a
14 changed files with 109 additions and 84 deletions

View File

@@ -258,7 +258,7 @@ void wxMenu::Append(wxMenuItem *pItem)
else
{
#ifdef __WIN32__
if ( id == idMenuTitle )
if ( (int)id == idMenuTitle )
{
// visually select the menu title
MENUITEMINFO mii;
@@ -855,7 +855,7 @@ void wxMenuBar::SetLabelTop(int pos, const wxString& label)
}
if ( ::ModifyMenu(GetHmenu(), pos, MF_BYPOSITION | MF_STRING | flagsOld,
id, label) == 0xFFFFFFFF )
id, label) == (int)0xFFFFFFFF )
{
wxLogLastError("ModifyMenu");
}
@@ -1094,7 +1094,7 @@ void wxMenuBar::Attach(wxFrame *frame)
void wxMenuBar::Detach()
{
// ::DestroyMenu((HMENU)m_hMenu);
m_hMenu = NULL;
m_hMenu = (WXHMENU)NULL;
m_menuBarFrame = NULL;
}