WinCE compilation fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-06-15 22:04:53 +00:00
parent 3a2f2e31bc
commit 858cab30be
2 changed files with 17 additions and 4 deletions

View File

@@ -386,7 +386,7 @@ bool wxMenu::DoInsertOrAppend(wxMenuItem *pItem, size_t pos)
if ( pos == (size_t)-1 )
{
// append at the end
pos = ::GetMenuItemCount(GetHmenu());
pos = GetMenuItemCount();
}
BOOL ok = false;