projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup image after application
[wxWidgets.git]
/
src
/
gtk1
/
cursor.cpp
diff --git
a/src/gtk1/cursor.cpp
b/src/gtk1/cursor.cpp
index 54bd0e23a3f612432b3faeaf75dfb88531ab6c0b..4360b9748d770c3126796a878bdf2550d3ebeada 100644
(file)
--- a/
src/gtk1/cursor.cpp
+++ b/
src/gtk1/cursor.cpp
@@
-268,13
+268,13
@@
wxCursor::wxCursor( const wxImage & image )
int hotSpotX;
int hotSpotY;
int hotSpotX;
int hotSpotY;
- if (image.HasOption(wxCUR_HOTSPOT_X))
- hotSpotX = image.GetOptionInt(wxCUR_HOTSPOT_X);
+ if (image.HasOption(wx
IMAGE_OPTION_
CUR_HOTSPOT_X))
+ hotSpotX = image.GetOptionInt(wx
IMAGE_OPTION_
CUR_HOTSPOT_X);
else
hotSpotX = 0;
else
hotSpotX = 0;
- if (image.HasOption(wxCUR_HOTSPOT_Y))
- hotSpotY = image.GetOptionInt(wxCUR_HOTSPOT_Y);
+ if (image.HasOption(wx
IMAGE_OPTION_
CUR_HOTSPOT_Y))
+ hotSpotY = image.GetOptionInt(wx
IMAGE_OPTION_
CUR_HOTSPOT_Y);
else
hotSpotY = 0;
else
hotSpotY = 0;