Commits

Bill Bumgarner  committed cef7bd4

Fixed NSDraggingDestination declaration as noted in ChangeLog.

  • Participants
  • Parent commits 94c177d

Comments (0)

Files changed (2)

File pyobjc/ChangeLog

 2002-10-30  Bill Bumgarner  <bbum@codefab.com>
-
+	* Fixed a bug in the NSDraggingDestination method declarations and
+	made all of the methods optional (the developer only needs to
+	implement a subset of the methods and none of the methods are
+	required to be a part of that subset).
 	* Fixed 'in' operation on arrays to use containsObject:.  Should
 	work with sets.  Will not work with NSDictionary.
-
 	* Fixed enum parser to handle enums that don't start with a
 	typedef.  Regenerated appkit and foundation enumerated types files
 	to pick up missing enums.
-
 	* Added some tests and cleaned up a bit of the existing tests in
 	test_subclass.py
 

File pyobjc/Lib/AppKit/__init__.py

 			None, 
 			selector='concludeDragOperation:',
 			signature='v@:@',
-			required=1
+			required=0
 		),
 		_objc.selector(
 			None, 
 		),
 		_objc.selector(
 			None, 
-			selector='draggingEntered',
+			selector='draggingEntered:',
 			signature='i@:@',
-			required=1
+			required=0
 		),
 		_objc.selector(
 			None, 
 			selector='draggingExited:',
 			signature='v@:@',
-			required=1
+			required=0
 		),
 		_objc.selector(
 			None, 
 			selector='draggingUpdated:',
 			signature='i@:@',
-			required=1
+			required=0
 		),
 		_objc.selector(
 			None, 
 			selector='performDragOperation:',
 			signature='c@:@',
-			required=1
+			required=0
 		),
 		_objc.selector(
 			None, 
 			selector='prepareForDragOperation:',
 			signature='c@:@',
-			required=1
+			required=0
 		),
 	]
 )