]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dnd.cpp
removed some stray MSW code
[wxWidgets.git] / src / gtk / dnd.cpp
index ca8a96f4b620c6c7ef9ff146ab1f9f721b99cfa4..93f307cf8e8db008bf36713a8ca3acb766a0cf12 100644 (file)
@@ -12,7 +12,9 @@
 #endif
 
 #include "wx/dnd.h"
-
+#include "wx/log.h"
+                                                                              
+                                                                               
 #if wxUSE_DRAG_AND_DROP
 
 #include "wx/window.h"
@@ -301,7 +303,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;