2008-07-29 16:28:21 -04:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/osx/cocoa/private.h
|
|
|
|
// Purpose: Private declarations: as this header is only included by
|
|
|
|
// wxWidgets itself, it may contain identifiers which don't start
|
|
|
|
// with "wx".
|
|
|
|
// Author: Stefan Csomor
|
|
|
|
// Modified by:
|
|
|
|
// Created: 1998-01-01
|
|
|
|
// RCS-ID: $Id: private.h 53819 2008-05-29 14:11:45Z SC $
|
|
|
|
// Copyright: (c) Stefan Csomor
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _WX_PRIVATE_COCOA_H_
|
|
|
|
#define _WX_PRIVATE_COCOA_H_
|
|
|
|
|
|
|
|
#include "wx/osx/core/private.h"
|
|
|
|
|
2008-09-06 12:30:42 -04:00
|
|
|
#include "wx/defs.h"
|
|
|
|
|
|
|
|
#include <ApplicationServices/ApplicationServices.h>
|
|
|
|
|
2009-01-12 15:14:39 -05:00
|
|
|
#if wxOSX_USE_ATSU_TEXT
|
|
|
|
// we need theming and atsu
|
|
|
|
#include <Carbon/Carbon.h>
|
2009-09-21 08:57:12 -04:00
|
|
|
#else
|
|
|
|
// we only need theming, if we find a better include replace the following
|
|
|
|
#include <Carbon/Carbon.h>
|
2009-01-12 15:14:39 -05:00
|
|
|
#endif
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
#ifdef __OBJC__
|
|
|
|
#import <Cocoa/Cocoa.h>
|
2009-01-13 13:35:23 -05:00
|
|
|
#endif
|
2008-07-29 16:28:21 -04:00
|
|
|
|
2008-09-02 12:53:23 -04:00
|
|
|
//
|
|
|
|
// shared between Cocoa and Carbon
|
|
|
|
//
|
|
|
|
|
2009-09-18 12:16:30 -04:00
|
|
|
// bring in theming types without pulling in the headers
|
2008-09-02 12:53:23 -04:00
|
|
|
|
2008-09-06 12:30:42 -04:00
|
|
|
#if wxUSE_GUI
|
2008-09-02 12:53:23 -04:00
|
|
|
typedef SInt16 ThemeBrush;
|
2008-09-07 10:44:54 -04:00
|
|
|
CGColorRef WXDLLIMPEXP_CORE wxMacCreateCGColorFromHITheme( ThemeBrush brush ) ;
|
2008-09-02 12:53:23 -04:00
|
|
|
OSStatus WXDLLIMPEXP_CORE wxMacDrawCGImage(
|
|
|
|
CGContextRef inContext,
|
|
|
|
const CGRect * inBounds,
|
|
|
|
CGImageRef inImage) ;
|
2008-09-07 10:44:54 -04:00
|
|
|
WX_NSImage WXDLLIMPEXP_CORE wxOSXCreateNSImageFromCGImage( CGImageRef image );
|
2008-09-06 12:30:42 -04:00
|
|
|
#endif
|
2008-09-02 12:53:23 -04:00
|
|
|
|
2008-09-06 12:30:42 -04:00
|
|
|
long UMAGetSystemVersion() ;
|
2008-09-02 12:53:23 -04:00
|
|
|
WXDLLIMPEXP_BASE void wxMacStringToPascal( const wxString&from , StringPtr to );
|
|
|
|
WXDLLIMPEXP_BASE wxString wxMacFSRefToPath( const FSRef *fsRef , CFStringRef additionalPathComponent = NULL );
|
|
|
|
WXDLLIMPEXP_BASE OSStatus wxMacPathToFSRef( const wxString&path , FSRef *fsRef );
|
|
|
|
WXDLLIMPEXP_BASE wxString wxMacHFSUniStrToString( ConstHFSUniStr255Param uniname );
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
#if wxUSE_GUI
|
|
|
|
|
|
|
|
class WXDLLIMPEXP_CORE wxWidgetCocoaImpl : public wxWidgetImpl
|
|
|
|
{
|
|
|
|
public :
|
2009-08-21 06:41:26 -04:00
|
|
|
wxWidgetCocoaImpl( wxWindowMac* peer , WXWidget w, bool isRootControl = false ) ;
|
|
|
|
wxWidgetCocoaImpl() ;
|
|
|
|
~wxWidgetCocoaImpl();
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
void Init();
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual bool IsVisible() const ;
|
2008-09-02 12:53:23 -04:00
|
|
|
virtual void SetVisibility(bool);
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void Raise();
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void Lower();
|
|
|
|
|
|
|
|
virtual void ScrollRect( const wxRect *rect, int dx, int dy );
|
|
|
|
|
|
|
|
virtual WXWidget GetWXWidget() const { return m_osxView; }
|
|
|
|
|
2008-09-02 12:53:23 -04:00
|
|
|
virtual void SetBackgroundColour(const wxColour&);
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void GetContentArea( int &left , int &top , int &width , int &height ) const;
|
|
|
|
virtual void Move(int x, int y, int width, int height);
|
|
|
|
virtual void GetPosition( int &x, int &y ) const;
|
|
|
|
virtual void GetSize( int &width, int &height ) const;
|
2008-09-02 12:53:23 -04:00
|
|
|
virtual void SetControlSize( wxWindowVariant variant );
|
2008-07-29 16:28:21 -04:00
|
|
|
|
|
|
|
virtual void SetNeedsDisplay( const wxRect* where = NULL );
|
|
|
|
virtual bool GetNeedsDisplay() const;
|
|
|
|
|
|
|
|
virtual bool CanFocus() const;
|
|
|
|
// return true if successful
|
|
|
|
virtual bool SetFocus();
|
|
|
|
virtual bool HasFocus() const;
|
|
|
|
|
|
|
|
void RemoveFromParent();
|
|
|
|
void Embed( wxWidgetImpl *parent );
|
2008-09-02 12:53:23 -04:00
|
|
|
|
|
|
|
void SetDefaultButton( bool isDefault );
|
|
|
|
void PerformClick();
|
2009-03-11 00:50:51 -04:00
|
|
|
virtual void SetLabel(const wxString& title, wxFontEncoding encoding);
|
2008-09-02 12:53:23 -04:00
|
|
|
|
2009-01-18 11:10:46 -05:00
|
|
|
void SetCursor( const wxCursor & cursor );
|
|
|
|
void CaptureMouse();
|
|
|
|
void ReleaseMouse();
|
|
|
|
|
2008-09-02 12:53:23 -04:00
|
|
|
wxInt32 GetValue() const;
|
|
|
|
void SetValue( wxInt32 v );
|
2009-06-20 23:01:53 -04:00
|
|
|
wxBitmap GetBitmap() const;
|
2008-09-02 12:53:23 -04:00
|
|
|
void SetBitmap( const wxBitmap& bitmap );
|
2009-06-20 23:01:53 -04:00
|
|
|
void SetBitmapPosition( wxDirection dir );
|
2008-09-02 12:53:23 -04:00
|
|
|
void SetupTabs( const wxNotebook ¬ebook );
|
|
|
|
void GetBestRect( wxRect *r ) const;
|
|
|
|
bool IsEnabled() const;
|
|
|
|
void Enable( bool enable );
|
|
|
|
bool ButtonClickDidStateChange() { return true ;}
|
|
|
|
void SetMinimum( wxInt32 v );
|
|
|
|
void SetMaximum( wxInt32 v );
|
2009-01-20 09:27:26 -05:00
|
|
|
wxInt32 GetMinimum() const;
|
|
|
|
wxInt32 GetMaximum() const;
|
2008-09-02 12:53:23 -04:00
|
|
|
void PulseGauge();
|
|
|
|
void SetScrollThumb( wxInt32 value, wxInt32 thumbSize );
|
|
|
|
|
2008-09-05 10:41:11 -04:00
|
|
|
void SetFont( const wxFont & font , const wxColour& foreground , long windowStyle, bool ignoreBlack = true );
|
|
|
|
|
2008-10-10 15:01:32 -04:00
|
|
|
void InstallEventHandler( WXWidget control = NULL );
|
2009-08-21 06:41:26 -04:00
|
|
|
|
|
|
|
virtual bool DoHandleMouseEvent(NSEvent *event);
|
2009-02-22 13:25:36 -05:00
|
|
|
virtual bool DoHandleKeyEvent(NSEvent *event);
|
|
|
|
virtual bool DoHandleCharEvent(NSEvent *event, NSString *text);
|
2009-08-21 06:41:26 -04:00
|
|
|
virtual void DoNotifyFocusEvent(bool receivedFocus, wxWidgetImpl* otherWindow);
|
2009-01-13 13:35:23 -05:00
|
|
|
|
2009-02-07 08:25:58 -05:00
|
|
|
void SetFlipped(bool flipped);
|
2009-03-30 03:30:26 -04:00
|
|
|
virtual bool IsFlipped() const { return m_isFlipped; }
|
2009-02-09 12:53:02 -05:00
|
|
|
|
|
|
|
// cocoa thunk connected calls
|
2009-02-07 08:25:58 -05:00
|
|
|
|
|
|
|
virtual unsigned int draggingEntered(void* sender, WXWidget slf, void* _cmd);
|
|
|
|
virtual void draggingExited(void* sender, WXWidget slf, void* _cmd);
|
|
|
|
virtual unsigned int draggingUpdated(void* sender, WXWidget slf, void* _cmd);
|
|
|
|
virtual bool performDragOperation(void* sender, WXWidget slf, void* _cmd);
|
|
|
|
virtual void mouseEvent(WX_NSEvent event, WXWidget slf, void* _cmd);
|
|
|
|
virtual void keyEvent(WX_NSEvent event, WXWidget slf, void* _cmd);
|
2009-02-22 13:25:36 -05:00
|
|
|
virtual void insertText(NSString* text, WXWidget slf, void* _cmd);
|
2009-02-07 08:25:58 -05:00
|
|
|
virtual bool performKeyEquivalent(WX_NSEvent event, WXWidget slf, void* _cmd);
|
2009-03-07 23:15:58 -05:00
|
|
|
virtual bool acceptsFirstResponder(WXWidget slf, void* _cmd);
|
2009-02-07 08:25:58 -05:00
|
|
|
virtual bool becomeFirstResponder(WXWidget slf, void* _cmd);
|
|
|
|
virtual bool resignFirstResponder(WXWidget slf, void* _cmd);
|
|
|
|
virtual void resetCursorRects(WXWidget slf, void* _cmd);
|
|
|
|
virtual bool isFlipped(WXWidget slf, void* _cmd);
|
|
|
|
virtual void drawRect(void* rect, WXWidget slf, void* _cmd);
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2009-02-12 02:17:46 -05:00
|
|
|
virtual void controlAction(WXWidget slf, void* _cmd, void* sender);
|
|
|
|
virtual void controlDoubleAction(WXWidget slf, void* _cmd, void *sender);
|
2009-02-07 08:25:58 -05:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
protected:
|
|
|
|
WXWidget m_osxView;
|
2009-02-22 13:25:36 -05:00
|
|
|
NSEvent* m_lastKeyDownEvent;
|
2009-02-07 08:25:58 -05:00
|
|
|
bool m_isFlipped;
|
2009-06-11 02:40:24 -04:00
|
|
|
// if it the control has an editor, that editor will already send some
|
2009-08-21 06:41:26 -04:00
|
|
|
// events, don't resend them
|
2009-06-11 02:40:24 -04:00
|
|
|
bool m_hasEditor;
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxWidgetCocoaImpl)
|
|
|
|
};
|
|
|
|
|
2009-01-14 08:56:05 -05:00
|
|
|
DECLARE_WXCOCOA_OBJC_CLASS( wxNSWindow );
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
class wxNonOwnedWindowCocoaImpl : public wxNonOwnedWindowImpl
|
|
|
|
{
|
|
|
|
public :
|
|
|
|
wxNonOwnedWindowCocoaImpl( wxNonOwnedWindow* nonownedwnd) ;
|
|
|
|
wxNonOwnedWindowCocoaImpl();
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual ~wxNonOwnedWindowCocoaImpl();
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void Destroy() ;
|
|
|
|
void Create( wxWindow* parent, const wxPoint& pos, const wxSize& size,
|
|
|
|
long style, long extraStyle, const wxString& name ) ;
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
WXWindow GetWXWindow() const;
|
2009-08-21 06:41:26 -04:00
|
|
|
void Raise();
|
2008-07-29 16:28:21 -04:00
|
|
|
void Lower();
|
2009-08-21 06:41:26 -04:00
|
|
|
bool Show(bool show);
|
2008-07-29 16:28:21 -04:00
|
|
|
bool ShowWithEffect(bool show, wxShowEffect effect, unsigned timeout);
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
void Update();
|
|
|
|
bool SetTransparent(wxByte alpha);
|
|
|
|
bool SetBackgroundColour(const wxColour& col );
|
2009-08-21 06:41:26 -04:00
|
|
|
void SetExtraStyle( long exStyle );
|
|
|
|
bool SetBackgroundStyle(wxBackgroundStyle style);
|
2008-07-29 16:28:21 -04:00
|
|
|
bool CanSetTransparent();
|
|
|
|
|
|
|
|
void MoveWindow(int x, int y, int width, int height);
|
|
|
|
void GetPosition( int &x, int &y ) const;
|
|
|
|
void GetSize( int &width, int &height ) const;
|
|
|
|
|
2009-08-21 06:41:26 -04:00
|
|
|
void GetContentArea( int &left , int &top , int &width , int &height ) const;
|
2008-07-29 16:28:21 -04:00
|
|
|
bool SetShape(const wxRegion& region);
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void SetTitle( const wxString& title, wxFontEncoding encoding ) ;
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual bool IsMaximized() const;
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual bool IsIconized() const;
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void Iconize( bool iconize );
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void Maximize(bool maximize);
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual bool IsFullScreen() const;
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual bool ShowFullScreen(bool show, long style);
|
|
|
|
|
|
|
|
virtual void RequestUserAttention(int flags);
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void ScreenToWindow( int *x, int *y );
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
virtual void WindowToScreen( int *x, int *y );
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
wxNonOwnedWindow* GetWXPeer() { return m_wxPeer; }
|
|
|
|
protected :
|
2009-01-14 08:56:05 -05:00
|
|
|
WX_wxNSWindow m_macWindow;
|
2008-07-29 16:28:21 -04:00
|
|
|
void * m_macFullScreenData ;
|
|
|
|
DECLARE_DYNAMIC_CLASS_NO_COPY(wxNonOwnedWindowCocoaImpl)
|
2009-08-21 06:41:26 -04:00
|
|
|
};
|
2008-07-29 16:28:21 -04:00
|
|
|
|
2009-01-13 13:35:23 -05:00
|
|
|
#ifdef __OBJC__
|
|
|
|
|
2009-05-10 15:43:39 -04:00
|
|
|
WXDLLIMPEXP_CORE NSRect wxToNSRect( NSView* parent, const wxRect& r );
|
|
|
|
WXDLLIMPEXP_CORE wxRect wxFromNSRect( NSView* parent, const NSRect& rect );
|
|
|
|
WXDLLIMPEXP_CORE NSPoint wxToNSPoint( NSView* parent, const wxPoint& p );
|
|
|
|
WXDLLIMPEXP_CORE wxPoint wxFromNSPoint( NSView* parent, const NSPoint& p );
|
2009-08-21 06:41:26 -04:00
|
|
|
|
|
|
|
NSRect WXDLLIMPEXP_CORE wxOSXGetFrameForControl( wxWindowMac* window , const wxPoint& pos , const wxSize &size ,
|
2009-01-13 13:35:23 -05:00
|
|
|
bool adjustForOrigin = true );
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2009-01-14 03:58:59 -05:00
|
|
|
// used for many wxControls
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2009-01-14 03:58:59 -05:00
|
|
|
@interface wxNSButton : NSButton
|
|
|
|
{
|
|
|
|
}
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2009-01-14 03:58:59 -05:00
|
|
|
@end
|
|
|
|
|
|
|
|
@interface wxNSBox : NSBox
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2009-06-11 02:40:24 -04:00
|
|
|
@interface wxNSTextFieldEditor : NSTextView
|
|
|
|
{
|
|
|
|
NSEvent* lastKeyDownEvent;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
2009-01-14 03:58:59 -05:00
|
|
|
@interface wxNSTextField : NSTextField
|
2009-06-11 02:40:24 -04:00
|
|
|
{
|
|
|
|
wxNSTextFieldEditor* fieldEditor;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (wxNSTextFieldEditor*) fieldEditor;
|
|
|
|
- (void) setFieldEditor:(wxNSTextFieldEditor*) fieldEditor;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface wxNSSecureTextField : NSSecureTextField
|
2009-01-14 03:58:59 -05:00
|
|
|
{
|
|
|
|
}
|
2009-06-11 02:40:24 -04:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
|
|
|
@interface wxNSTextView : NSTextView
|
|
|
|
{
|
|
|
|
}
|
2009-08-21 06:41:26 -04:00
|
|
|
|
2009-01-14 03:58:59 -05:00
|
|
|
@end
|
|
|
|
|
2009-01-14 08:56:05 -05:00
|
|
|
@interface wxNSMenu : NSMenu
|
|
|
|
{
|
|
|
|
wxMenuImpl* impl;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void) setImplementation:(wxMenuImpl*) item;
|
|
|
|
- (wxMenuImpl*) implementation;
|
|
|
|
|
2009-08-21 06:41:26 -04:00
|
|
|
@end
|
2009-01-14 08:56:05 -05:00
|
|
|
|
|
|
|
@interface wxNSMenuItem : NSMenuItem
|
|
|
|
{
|
|
|
|
wxMenuItemImpl* impl;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (void) setImplementation:(wxMenuItemImpl*) item;
|
|
|
|
- (wxMenuItemImpl*) implementation;
|
|
|
|
|
|
|
|
- (void)clickedAction:(id)sender;
|
|
|
|
- (BOOL)validateMenuItem:(NSMenuItem *)menuItem;
|
|
|
|
|
2009-08-21 06:41:26 -04:00
|
|
|
@end
|
|
|
|
|
2009-02-07 18:17:52 -05:00
|
|
|
void WXDLLIMPEXP_CORE wxOSXCocoaClassAddWXMethods(Class c);
|
2009-01-14 03:58:59 -05:00
|
|
|
|
2009-03-05 14:19:28 -05:00
|
|
|
/*
|
|
|
|
We need this for ShowModal, as the sheet just disables the parent window and
|
|
|
|
returns control to the app, whereas we don't want to return from ShowModal
|
|
|
|
until the sheet has been dismissed.
|
|
|
|
*/
|
|
|
|
@interface ModalDialogDelegate : NSObject
|
|
|
|
{
|
|
|
|
BOOL sheetFinished;
|
|
|
|
int resultCode;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (BOOL)finished;
|
|
|
|
- (int)code;
|
|
|
|
- (void)waitForSheetToFinish;
|
|
|
|
- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo;
|
|
|
|
@end
|
|
|
|
|
|
|
|
|
2009-01-13 13:35:23 -05:00
|
|
|
#endif // __OBJC__
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
// NSCursor
|
|
|
|
|
|
|
|
WX_NSCursor wxMacCocoaCreateStockCursor( int cursor_type );
|
|
|
|
WX_NSCursor wxMacCocoaCreateCursorFromCGImage( CGImageRef cgImageRef, float hotSpotX, float hotSpotY );
|
|
|
|
void wxMacCocoaSetCursor( WX_NSCursor cursor );
|
|
|
|
void wxMacCocoaHideCursor();
|
|
|
|
void wxMacCocoaShowCursor();
|
|
|
|
|
|
|
|
typedef struct tagClassicCursor
|
|
|
|
{
|
|
|
|
wxUint16 bits[16];
|
|
|
|
wxUint16 mask[16];
|
|
|
|
wxInt16 hotspot[2];
|
|
|
|
}ClassicCursor;
|
|
|
|
|
2008-09-02 12:53:23 -04:00
|
|
|
const short kwxCursorBullseye = 0;
|
|
|
|
const short kwxCursorBlank = 1;
|
|
|
|
const short kwxCursorPencil = 2;
|
|
|
|
const short kwxCursorMagnifier = 3;
|
|
|
|
const short kwxCursorNoEntry = 4;
|
|
|
|
const short kwxCursorPaintBrush = 5;
|
|
|
|
const short kwxCursorPointRight = 6;
|
|
|
|
const short kwxCursorPointLeft = 7;
|
|
|
|
const short kwxCursorQuestionArrow = 8;
|
|
|
|
const short kwxCursorRightArrow = 9;
|
|
|
|
const short kwxCursorSizeNS = 10;
|
|
|
|
const short kwxCursorSize = 11;
|
|
|
|
const short kwxCursorSizeNESW = 12;
|
|
|
|
const short kwxCursorSizeNWSE = 13;
|
|
|
|
const short kwxCursorRoller = 14;
|
|
|
|
const short kwxCursorLast = kwxCursorRoller;
|
|
|
|
|
|
|
|
// exposing our fallback cursor map
|
|
|
|
|
|
|
|
extern ClassicCursor gMacCursors[];
|
|
|
|
|
2008-07-29 16:28:21 -04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
// _WX_PRIVATE_COCOA_H_
|
|
|
|
|