1 #ifndef _DYNAMIC_FL_CHOICE
2 #define _DYNAMIC_FL_CHOICE
4 #include <FL/Fl_Choice.H>
13 Dynamic_Fl_Choice_Callback* beforePopCallback_;
14 void* beforePopUserData_;
17 : Fl_Choice(x,y,w,h,n),
18 beforePopCallback_(NULL),
19 beforePopUserData_(NULL)
23 void BeforePopCallback(Dynamic_Fl_Choice_Callback callback,
void* userData = NULL)
25 beforePopCallback_ = callback;
26 beforePopUserData_ = userData;
37 (beforePopCallback_)(
this, beforePopUserData_);
40 return Fl_Choice::handle(e);
Definition: dynamic_fl_choice.h:9