Correct creation of the mask for wxImage cursors in wxGTK.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2010 18:39:10 +0000 (18:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Jul 2010 18:39:10 +0000 (18:39 +0000)
commit5a9dd921283707713a30eddf18ebbdcc9e9f1851
treedbd0917dcc17a401d692fbe91fe0b0ad0491a696
parent89a76d5d2c1620f8118780f0a29030f2b2a45023
Correct creation of the mask for wxImage cursors in wxGTK.

The code created the monochrome bitmap used by wxCursor(wxImage) ctor
incorrectly resulting in bad cursor appearance. Use the right values for
foreground and background pixels (which are inversed compared to naive
expectations) to fix this.

Closes #11989.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/cursor.cpp