mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
(by nich:) fix empty cursor on GTK
Originally committed to SVN as r246.
This commit is contained in:
parent
ba5af80245
commit
68cf63296f
@ -111,7 +111,13 @@ VideoDisplay::VideoDisplay(wxWindow* parent, wxWindowID id, const wxPoint& pos,
|
||||
wxImage::AddHandler(png);
|
||||
|
||||
// Set cursor
|
||||
// Bleeeh! Hate this 'solution':
|
||||
#if __WXGTK__
|
||||
static char cursor_image[] = {0};
|
||||
wxCursor cursor(cursor_image, 8, 1, -1, -1, cursor_image);
|
||||
#else
|
||||
wxCursor cursor(wxCURSOR_BLANK);
|
||||
#endif // __WXGTK__
|
||||
SetCursor(cursor);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user