wxMac Unicode support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -292,13 +292,7 @@ wxCursor::wxCursor(const wxString& cursor_file, long flags, int hotSpotX, int ho
|
||||
if ( flags == wxBITMAP_TYPE_MACCURSOR_RESOURCE )
|
||||
{
|
||||
Str255 theName ;
|
||||
|
||||
#if TARGET_CARBON
|
||||
c2pstrcpy( (StringPtr) theName , cursor_file ) ;
|
||||
#else
|
||||
strcpy( (char *) theName , cursor_file ) ;
|
||||
c2pstr( (char *) theName ) ;
|
||||
#endif
|
||||
wxMacStringToPascal( cursor_file , theName ) ;
|
||||
|
||||
wxStAppResource resload ;
|
||||
Handle resHandle = ::GetNamedResource( 'crsr' , theName ) ;
|
||||
|
||||
Reference in New Issue
Block a user