mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
STR 1880: Fixed timer leak in Fl_Scrollbar
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@6042 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -6,6 +6,7 @@ CHANGES IN FLTK 1.1.8
|
|||||||
STR #1742, STR #1777, STR #1794, STR #1827, STR #1843,
|
STR #1742, STR #1777, STR #1794, STR #1827, STR #1843,
|
||||||
STR #1796, STR #1815, STR #1726, STR #1753, STR #1855,
|
STR #1796, STR #1815, STR #1726, STR #1753, STR #1855,
|
||||||
STR #1862, STR #1867, STR #1874)
|
STR #1862, STR #1867, STR #1874)
|
||||||
|
- Fixed possible timer leak in Scrollbar (STR #1880)
|
||||||
- Added documentation about the potential limitations
|
- Added documentation about the potential limitations
|
||||||
of Fl::grab on newer operating systems (STR #1747)
|
of Fl::grab on newer operating systems (STR #1747)
|
||||||
- Fixed lockout when mixing popups and alerts
|
- Fixed lockout when mixing popups and alerts
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ protected:
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
Fl_Scrollbar(int x,int y,int w,int h, const char *l = 0);
|
Fl_Scrollbar(int x,int y,int w,int h, const char *l = 0);
|
||||||
|
~Fl_Scrollbar();
|
||||||
int handle(int);
|
int handle(int);
|
||||||
|
|
||||||
int value() {return int(Fl_Slider::value());}
|
int value() {return int(Fl_Slider::value());}
|
||||||
|
|||||||
@@ -265,6 +265,13 @@ Fl_Scrollbar::Fl_Scrollbar(int X, int Y, int W, int H, const char* L)
|
|||||||
step(1);
|
step(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Fl_Scrollbar::~Fl_Scrollbar()
|
||||||
|
{
|
||||||
|
if (pushed_)
|
||||||
|
Fl::remove_timeout(timeout_cb, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// End of "$Id$".
|
// End of "$Id$".
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user