]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/dnd.cpp
Unicode compilation fixes after wxFFile change
[wxWidgets.git] / src / gtk1 / 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;