summaryrefslogtreecommitdiff
path: root/src/fl_cursor.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-18 14:31:07 +0000
committerManolo Gouy <Manolo>2016-04-18 14:31:07 +0000
commit0629b40afd8fc49ef2d9db898d190e3a1a508d8d (patch)
treed339e4c02fa7a222446dc441398966a7ab07c05c /src/fl_cursor.cxx
parent516d0e5f9ca1850ad76c81c10c5e3c415f21c5cd (diff)
Move set_cursor() member functions from class Fl_X to classes Fl_Window_Driver and derived.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11652 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_cursor.cxx')
-rw-r--r--src/fl_cursor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_cursor.cxx b/src/fl_cursor.cxx
index 9b9c9b9e2..30f523c26 100644
--- a/src/fl_cursor.cxx
+++ b/src/fl_cursor.cxx
@@ -131,7 +131,7 @@ void Fl_Window::cursor(Fl_Cursor c) {
if (!i)
return;
- ret = i->set_cursor(c);
+ ret = pWindowDriver->set_cursor(c);
if (ret)
return;
@@ -168,7 +168,7 @@ void Fl_Window::cursor(const Fl_RGB_Image *image, int hotx, int hoty) {
if (!i)
return;
- ret = i->set_cursor(image, hotx, hoty);
+ ret = pWindowDriver->set_cursor(image, hotx, hoty);
if (ret)
return;