Various cleanings.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2515,7 +2515,7 @@ bool wxWindow::DoPopupMenu(wxMenu *menu, int x, int y)
|
||||
|
||||
// wxLogDebug( "Name of invoking window %s", menu->GetInvokingWindow()->GetName().c_str() );
|
||||
|
||||
menu->Popup(ClientToScreen(wxPoint(x, y)), wxSize(0, 0));
|
||||
menu->Popup(ClientToScreen(wxPoint(x, y)), wxSize());
|
||||
|
||||
// this is not very useful if the menu was popped up because of the mouse
|
||||
// click but I think it is nice to do when it appears because of a key
|
||||
|
||||
Reference in New Issue
Block a user