wxTextCtrl: call UpdateUI() when showing OLE-based context menu.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -181,6 +181,8 @@ public:
|
|||||||
m_menu->SetInvokingWindow(m_textCtrl);
|
m_menu->SetInvokingWindow(m_textCtrl);
|
||||||
wxCurrentPopupMenu = m_menu;
|
wxCurrentPopupMenu = m_menu;
|
||||||
|
|
||||||
|
m_menu->UpdateUI();
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user