]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dnd/dnd.cpp
don't crash in Get() if there is no wxApp (closes 1236514)
[wxWidgets.git] / samples / dnd / dnd.cpp
index 6f67f5c1ce3e559bde1c12b4e0e83650826ada68..2cc3a70155e4cc85adc03f2fe6b6e39963d60ae0 100644 (file)
@@ -36,7 +36,7 @@
 #endif // wxUSE_METAFILES
 
 #if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__)
-    #include "mondrian.xpm"
+    #include "../sample.xpm"
 #if wxUSE_DRAG_AND_DROP
     #include "dnd_copy.xpm"
     #include "dnd_move.xpm"
@@ -1730,7 +1730,7 @@ void DnDShapeFrame::OnDrag(wxMouseEvent& event)
     {
         default:
         case wxDragError:
-            wxLogError(wxT("An error occured during drag and drop operation"));
+            wxLogError(wxT("An error occurred during drag and drop operation"));
             break;
 
         case wxDragNone: