This website works better with JavaScript.
Home
Help
Sign In
non
/
non
mirror of
https://github.com/original-male/non
Watch
1
Star
0
Fork
0
Code
Releases
11
Activity
Browse Source
FL/menu_popup: Call menu's callback if menu item lacks one.
tags/non-daw-v1.1.0
Jonathan Moore Liles
14 years ago
parent
2eadaa016e
commit
a1387c4d62
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
FL/menu_popup.C
+ 3
- 0
FL/menu_popup.C
View File
@@ -32,6 +32,9 @@ menu_popup ( Fl_Menu_ *m, int X, int Y )
m->value( r );
if ( r->callback() )
r->do_callback( static_cast<Fl_Widget*>(m) );
else if ( m->callback() )
m->do_callback( static_cast<Fl_Widget*>(m), m->user_data() );
return true;
}
Write
Preview
Loading…
Cancel
Save