mirror of
https://github.com/fltk/fltk.git
synced 2026-06-07 09:13:58 +08:00
Making sure that the 'changed' flag is set on every menu pulldown. (STR #1693)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5890 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -32,6 +32,10 @@ void buttcb(Fl_Widget*,void*data) {
|
||||
flag ^= 1;
|
||||
if ( flag ) in->activate();
|
||||
else in->deactivate();
|
||||
if (in->changed()) {
|
||||
printf("Callback: changed() is set\n");
|
||||
in->clear_changed();
|
||||
}
|
||||
}
|
||||
|
||||
void input_choice_cb(Fl_Widget*,void*data) {
|
||||
|
||||
Reference in New Issue
Block a user