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:
@@ -463,7 +463,7 @@ wxMenuItem *MyFrame::GetLastMenuItem() const
|
|||||||
wxMenuBar *menubar = GetMenuBar();
|
wxMenuBar *menubar = GetMenuBar();
|
||||||
wxMenu *menu = menubar->GetMenu(menubar->GetMenuCount() - 1);
|
wxMenu *menu = menubar->GetMenu(menubar->GetMenuCount() - 1);
|
||||||
|
|
||||||
wxMenuItemList::Node *node = menu->GetMenuItems().GetLast();
|
wxMenuItemList::compatibility_iterator node = menu->GetMenuItems().GetLast();
|
||||||
if ( !node )
|
if ( !node )
|
||||||
{
|
{
|
||||||
wxLogWarning(wxT("No last item in the last menu!"));
|
wxLogWarning(wxT("No last item in the last menu!"));
|
||||||
|
Reference in New Issue
Block a user