]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
document Apple event overrides and their use instead of command line args
[wxWidgets.git] / src / gtk / window.cpp
index fa22ff516e425f12167f218b1c2a0a897063227a..5313dd72a0ba7ae2835eb4a63ec183baa6a07c7f 100644 (file)
@@ -1659,7 +1659,7 @@ window_scroll_event(GtkWidget*, GdkEventScroll* gdk_event, wxWindow* 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);
 }
@@ -2230,7 +2230,7 @@ bool wxWindowGTK::Create( wxWindow *parent,
     wxBorder border = GetBorder(style);
     style &= ~wxBORDER_MASK;
     style |= border;
-    
+
     if (!PreCreation( parent, pos, size ) ||
         !CreateBase( parent, id, pos, size, style, wxDefaultValidator, name ))
     {