mirror of
https://github.com/fltk/fltk.git
synced 2026-06-01 06:14:28 +08:00
Fix compiler warning (suggest-override)
This commit is contained in:
+4
-4
@@ -245,8 +245,8 @@ Fl::repeat_timeout(.10, ring_debug_timer_callback, (void*)this);} {}
|
|||||||
code {MyTerminal *o = (MyTerminal*)userdata;
|
code {MyTerminal *o = (MyTerminal*)userdata;
|
||||||
o->ring_debug_timer_callback2();} {}
|
o->ring_debug_timer_callback2();} {}
|
||||||
}
|
}
|
||||||
Function {handle(int e)} {
|
Function {handle(int e) FL_OVERRIDE} {
|
||||||
comment {Event handler} return_type int
|
comment {Event handler} selected return_type int
|
||||||
} {
|
} {
|
||||||
code {switch (e) {
|
code {switch (e) {
|
||||||
case FL_KEYBOARD: {
|
case FL_KEYBOARD: {
|
||||||
@@ -1487,8 +1487,8 @@ switch ( G_tty->box() ) {
|
|||||||
} {
|
} {
|
||||||
Fl_Window win {
|
Fl_Window win {
|
||||||
label {Fl_Terminal Test}
|
label {Fl_Terminal Test}
|
||||||
callback {exit(0);} open selected
|
callback {exit(0);} open
|
||||||
xywh {0 0 772 863} type Double visible
|
xywh {626 129 772 863} type Double visible
|
||||||
} {
|
} {
|
||||||
Fl_Spinner scrollhistory_input {
|
Fl_Spinner scrollhistory_input {
|
||||||
label {Scroll History}
|
label {Scroll History}
|
||||||
|
|||||||
Reference in New Issue
Block a user