]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/popupwin.cpp
Fix typo in last commit
[wxWidgets.git] / src / gtk / popupwin.cpp
index d7a664893d8a9a024b739dad9fd8c6ed343b3ac1..32e440006b233a6e1b6210fcbeb46c82321cb238 100644 (file)
@@ -46,7 +46,7 @@ static gint gtk_popup_button_press (GtkWidget *widget, GdkEvent *gdk_event, wxPo
         {
             if (child == widget)
                 return FALSE;
-            child = child->parent;
+            child = gtk_widget_get_parent(child);
         }
     }