fixed private member access problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
fe3d8179fa
commit
6134811179
@ -250,7 +250,7 @@ static void SetInvokingWindow( wxMenu *menu, wxWindow *win )
|
|||||||
while (node)
|
while (node)
|
||||||
{
|
{
|
||||||
wxMenuItem *menuitem = (wxMenuItem*)node->Data();
|
wxMenuItem *menuitem = (wxMenuItem*)node->Data();
|
||||||
if (menuitem->m_isSubMenu) SetInvokingWindow( menuitem->m_subMenu, win );
|
if (menuitem->GetSubMenu()) SetInvokingWindow( menuitem->GetSubMenu(), win );
|
||||||
node = node->Next();
|
node = node->Next();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -250,7 +250,7 @@ static void SetInvokingWindow( wxMenu *menu, wxWindow *win )
|
|||||||
while (node)
|
while (node)
|
||||||
{
|
{
|
||||||
wxMenuItem *menuitem = (wxMenuItem*)node->Data();
|
wxMenuItem *menuitem = (wxMenuItem*)node->Data();
|
||||||
if (menuitem->m_isSubMenu) SetInvokingWindow( menuitem->m_subMenu, win );
|
if (menuitem->GetSubMenu()) SetInvokingWindow( menuitem->GetSubMenu(), win );
|
||||||
node = node->Next();
|
node = node->Next();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user