x86 OS X patch for A-List
svn: r2277
This commit is contained in:
parent
e625c01ae3
commit
f9fd8b0c5a
|
@ -27,6 +27,13 @@
|
||||||
#include <ToolUtils.h>
|
#include <ToolUtils.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __i386__
|
||||||
|
# include "Endian.h"
|
||||||
|
# define wxNATIVE_LONG(x) EndianS32_BtoN(x)
|
||||||
|
#else
|
||||||
|
# define wxNATIVE_LONG(x) x
|
||||||
|
#endif
|
||||||
|
|
||||||
// Include the DragManagerAdditions only if we're using an old version of the Universal Interfaces.
|
// Include the DragManagerAdditions only if we're using an old version of the Universal Interfaces.
|
||||||
#if !defined(UNIVERSAL_INTERFACES_VERSION) || (UNIVERSAL_INTERFACES_VERSION < 0x0300)
|
#if !defined(UNIVERSAL_INTERFACES_VERSION) || (UNIVERSAL_INTERFACES_VERSION < 0x0300)
|
||||||
#include "DragManagerAdditions.h"
|
#include "DragManagerAdditions.h"
|
||||||
|
@ -970,7 +977,7 @@ static Boolean local_ALTrackDisclosureTriangle( Point mouseLoc, EventModifiers m
|
||||||
|
|
||||||
// Check the keyboard NOW for the option key.
|
// Check the keyboard NOW for the option key.
|
||||||
GetKeys( keyMap );
|
GetKeys( keyMap );
|
||||||
if ( (keyMap[1] >> 2) & 0x01 )
|
if ( (wxNATIVE_LONG(keyMap[1]) >> 2) & 0x01 )
|
||||||
modifiers &= optionKey;
|
modifiers &= optionKey;
|
||||||
|
|
||||||
// Change the state of the super row.
|
// Change the state of the super row.
|
||||||
|
@ -1372,7 +1379,6 @@ ALIST_API OSErr ALReceiveDrag( DragReference theDrag, ALHandle hAL )
|
||||||
unsigned short dragItemIndex;
|
unsigned short dragItemIndex;
|
||||||
unsigned short numDragItems;
|
unsigned short numDragItems;
|
||||||
ItemReference theItem;
|
ItemReference theItem;
|
||||||
char space = kSpace;
|
|
||||||
Boolean isMove = false;
|
Boolean isMove = false;
|
||||||
Boolean saveALLock;
|
Boolean saveALLock;
|
||||||
OSErr err;
|
OSErr err;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user