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:
Vadim Zeitlin
2002-05-22 16:27:06 +00:00
parent 86e5d706f4
commit b72aa48cde
2 changed files with 6 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;