1
0
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:
David Lamparter 2006-03-26 03:05:43 +00:00
parent ba5af80245
commit 68cf63296f

View File

@ -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);
}