Compilation fix for wxUSE_STL.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2003-07-10 21:12:25 +00:00
parent 116270c60a
commit 65c0217e32

View File

@ -463,7 +463,7 @@ wxMenuItem *MyFrame::GetLastMenuItem() const
wxMenuBar *menubar = GetMenuBar();
wxMenu *menu = menubar->GetMenu(menubar->GetMenuCount() - 1);
wxMenuItemList::Node *node = menu->GetMenuItems().GetLast();
wxMenuItemList::compatibility_iterator node = menu->GetMenuItems().GetLast();
if ( !node )
{
wxLogWarning(wxT("No last item in the last menu!"));