Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
- Earned some good credits
- Posts: 104
- Joined: Tue Aug 28, 2018 1:02 pm
- Location: Belarus
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:
Is it possible to make Linux-version cursor looks like the windows one?
- Part Of The Furniture
- Posts: 4374
- Joined: Sat Apr 16, 2005 7:22 am
- Location: USA, Ukraine
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.