added a check which should prevent the crash of bug 555111
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -301,7 +301,9 @@ static gboolean target_drag_drop( GtkWidget *widget,
|
||||
#endif
|
||||
|
||||
GdkAtom format = drop_target->GetMatchingPair();
|
||||
wxASSERT( format );
|
||||
|
||||
// this does happen somehow, see bug 555111
|
||||
wxCHECK_MSG( format, FALSE, _T("no matching GdkAtom for format?") )
|
||||
|
||||
/*
|
||||
GdkDragAction action = GDK_ACTION_MOVE;
|
||||
|
@@ -301,7 +301,9 @@ static gboolean target_drag_drop( GtkWidget *widget,
|
||||
#endif
|
||||
|
||||
GdkAtom format = drop_target->GetMatchingPair();
|
||||
wxASSERT( format );
|
||||
|
||||
// this does happen somehow, see bug 555111
|
||||
wxCHECK_MSG( format, FALSE, _T("no matching GdkAtom for format?") )
|
||||
|
||||
/*
|
||||
GdkDragAction action = GDK_ACTION_MOVE;
|
||||
|
Reference in New Issue
Block a user