git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50476
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static gboolean wxgtk_window_popup_menu_callback(GtkWidget*, wxWindowGTK* win)
{
static gboolean wxgtk_window_popup_menu_callback(GtkWidget*, wxWindowGTK* win)
{
- wxContextMenuEvent event(wxEVT_CONTEXT_MENU, win->GetId(), wxGetMousePosition());
+ wxContextMenuEvent event(wxEVT_CONTEXT_MENU, win->GetId(), wxPoint(-1, -1));
event.SetEventObject(win);
return win->GTKProcessEvent(event);
}
event.SetEventObject(win);
return win->GTKProcessEvent(event);
}
wxBorder border = GetBorder(style);
style &= ~wxBORDER_MASK;
style |= border;
wxBorder border = GetBorder(style);
style &= ~wxBORDER_MASK;
style |= border;
if (!PreCreation( parent, pos, size ) ||
!CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
{
if (!PreCreation( parent, pos, size ) ||
!CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
{