]> git.saurik.com Git - wxWidgets.git/commitdiff
make sure we always have a return value
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 27 Dec 2010 06:30:42 +0000 (06:30 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 27 Dec 2010 06:30:42 +0000 (06:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/dnd.mm

index ae860ad50eb44f033c1fba1cd94998099642b80b..eca5246de608027d3211d6ce8d1a35cf0011eaef 100644 (file)
@@ -43,6 +43,7 @@ wxDragResult NSDragOperationToWxDragResult(NSDragOperation code)
         default:
             wxFAIL_MSG("Unexpected result code");
     }
         default:
             wxFAIL_MSG("Unexpected result code");
     }
+    return wxDragNone;
 }
 
 @interface DropSourceDelegate : NSObject
 }
 
 @interface DropSourceDelegate : NSObject