summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2017-06-28 17:07:09 +0000
committerManolo Gouy <Manolo>2017-06-28 17:07:09 +0000
commit85724f00a0304619013f3b41f09288e757fa2149 (patch)
tree663676813b542b875bb70daed7f9cbb4bc1bff3d /src/drivers
parent582701ba07b1c4f61771dbc1d9d93ba02abbe5e6 (diff)
Better implementation of Fl_WinAPI_Window_Driver::reuse_cursor() that will also work with custom cursors.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12277 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H1
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H
index da65d7776..61d456edb 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H
+++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.H
@@ -61,7 +61,6 @@ class FL_EXPORT Fl_WinAPI_Window_Driver : public Fl_Window_Driver
HICON big_icon;
HICON small_icon;
};
- Fl_Cursor current_cursor_;
private:
void shape_bitmap_(Fl_Image* b);
void shape_alpha_(Fl_Image* img, int offset);
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
index a32d423a9..0229f3cce 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Window_Driver.cxx
@@ -48,7 +48,6 @@ Fl_WinAPI_Window_Driver::Fl_WinAPI_Window_Driver(Fl_Window *win)
icon_ = new icon_data;
memset(icon_, 0, sizeof(icon_data));
cursor = NULL;
- current_cursor_ = FL_CURSOR_DEFAULT;
}