Simulator: Fix probe and tune cursors on OSX.
This commit is contained in:
parent
69e4231303
commit
b87bac22c7
|
@ -107,7 +107,9 @@ public:
|
|||
wxBitmap probe_mask_bitmap( (const char*) cursor_probe_mask, 32, 32 );
|
||||
probe_bitmap.SetMask( new wxMask( probe_mask_bitmap ) );
|
||||
probe_image = new wxImage( probe_bitmap.ConvertToImage() );
|
||||
#ifdef __WXMSW__
|
||||
probe_image->SetMaskColour( 255, 255, 255 );
|
||||
#endif
|
||||
probe_image->SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_X, 0 );
|
||||
probe_image->SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_Y, 31 );
|
||||
}
|
||||
|
@ -125,7 +127,9 @@ public:
|
|||
wxBitmap tune_mask_bitmap( (const char*) cursor_tune_mask, 32, 32 );
|
||||
tune_bitmap.SetMask( new wxMask( tune_mask_bitmap ) );
|
||||
tune_image = new wxImage( tune_bitmap.ConvertToImage() );
|
||||
#ifdef __WXMSW__
|
||||
tune_image->SetMaskColour( 255, 255, 255 );
|
||||
#endif
|
||||
tune_image->SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_X, 0 );
|
||||
tune_image->SetOption( wxIMAGE_OPTION_CUR_HOTSPOT_Y, 31 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue