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:
parent
116270c60a
commit
65c0217e32
@ -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!"));
|
||||
|
Loading…
Reference in New Issue
Block a user