X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0b6f851f4ac593595c59f0e4ecf1caa48c572564..60372b0d54379701d62edf5595a7dc25c48330e1:/src/osx/cocoa/dnd.mm diff --git a/src/osx/cocoa/dnd.mm b/src/osx/cocoa/dnd.mm index ae860ad50e..ecfa2e2b91 100644 --- a/src/osx/cocoa/dnd.mm +++ b/src/osx/cocoa/dnd.mm @@ -4,7 +4,7 @@ // Author: Stefan Csomor // Modified by: // Created: 1998-01-01 -// RCS-ID: $Id: dnd.cpp 61724 2009-08-21 10:41:26Z VZ $ +// RCS-ID: $Id$ // Copyright: (c) 1998 Stefan Csomor // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -43,6 +43,7 @@ wxDragResult NSDragOperationToWxDragResult(NSDragOperation code) default: wxFAIL_MSG("Unexpected result code"); } + return wxDragNone; } @interface DropSourceDelegate : NSObject @@ -63,7 +64,7 @@ wxDragResult NSDragOperationToWxDragResult(NSDragOperation code) - (id)init { - [super init]; + self = [super init]; dragFinished = NO; resultCode = NSDragOperationNone; impl = 0;