Page 1 of 1

wxCURSOR_SIZE form difference on Linux/Windows

Posted: Thu Sep 19, 2019 12:10 pm
by rudolfninja
Hi everyone,
The general question if there somewhere in the documentation the pictures of how cursors should looks like?
Why I'm asking. I've got the following code to initialize cursors:

Code: Select all

        static const wxCursor wxCursorArrow = wxCursor(wxCURSOR_ARROW);
        static const wxCursor cursorSizeNWSE = wxCursor(wxCURSOR_SIZENWSE);
        static const wxCursor cursorSizeNESW = wxCursor(wxCURSOR_SIZENESW);
        static const wxCursor cursorSizeNS = wxCursor(wxCURSOR_SIZENS);
        static const wxCursor cursorSizeWE = wxCursor(wxCURSOR_SIZEWE);
Depending on mouse position I set specific cursor. However the form of cursors (for example wxCURSOR_SIZENESW) differs:
Linux (Gnome):
LinuxResize cursor.png
LinuxResize cursor.png (79.73 KiB) Viewed 308 times
Windows:
WindowsResizeCursor.png
Is it possible to make Linux-version cursor looks like the windows one?
Thanks.

Re: wxCURSOR_SIZE form difference on Linux/Windows

Posted: Thu Sep 19, 2019 2:27 pm
by ONEEYEMAN
Hi,
I think the Windows has a faulty cursor and Linux is correct here.

Also I vaguely remember there was an old ticket on trac about that. Unfortunately I don't remember the details.

Check the trac.wxwidgets.org.

Thank you.