X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fe91d709854883a7e38f9b6aad709b98cebe030..14b44999eb335f3fc84b4362980b1730b8887588:/include/wx/gtk/dnd.h diff --git a/include/wx/gtk/dnd.h b/include/wx/gtk/dnd.h index c29ded049e..30e356ee61 100644 --- a/include/wx/gtk/dnd.h +++ b/include/wx/gtk/dnd.h @@ -36,10 +36,13 @@ public: virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def); virtual bool GetData(); + // Can only be called during OnXXX methods. + wxDataFormat GetMatchingPair(); // implementation - - GdkAtom GtkGetMatchingPair(); + + GdkAtom GTKGetMatchingPair(bool quiet = false); + wxDragResult GTKFigureOutSuggestedAction(); void GtkRegisterWidget( GtkWidget *widget ); void GtkUnregisterWidget( GtkWidget *widget ); @@ -50,10 +53,10 @@ public: guint m_dragTime; bool m_firstMotion; // gdk has no "gdk_drag_enter" event - void GtkSetDragContext( GdkDragContext *dc ) { m_dragContext = dc; } - void GtkSetDragWidget( GtkWidget *w ) { m_dragWidget = w; } - void GtkSetDragData( GtkSelectionData *sd ) { m_dragData = sd; } - void GtkSetDragTime( guint time ) { m_dragTime = time; } + void GTKSetDragContext( GdkDragContext *dc ) { m_dragContext = dc; } + void GTKSetDragWidget( GtkWidget *w ) { m_dragWidget = w; } + void GTKSetDragData( GtkSelectionData *sd ) { m_dragData = sd; } + void GTKSetDragTime( guint time ) { m_dragTime = time; } }; //-------------------------------------------------------------------------