Slight changes to Fl_Sys_Menu_Bar making it more transparent for multi platform developers. Again, thanks Natevw for the patch.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4546 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
03654fb48d
commit
ef2f6bd456
@ -30,17 +30,25 @@
|
||||
|
||||
#include "Fl_Menu_Bar.H"
|
||||
|
||||
#ifdef __APPLE__
|
||||
|
||||
class FL_EXPORT Fl_Sys_Menu_Bar : public Fl_Menu_Bar {
|
||||
protected:
|
||||
void draw();
|
||||
public:
|
||||
//int handle(int);
|
||||
Fl_Sys_Menu_Bar(int x,int y,int w,int h,const char *l=0)
|
||||
: Fl_Menu_Bar(x,y,w,h,l) {}
|
||||
: Fl_Menu_Bar(x,y,w,h,l) {
|
||||
deactivate(); // don't let the old area take events
|
||||
}
|
||||
void menu(const Fl_Menu_Item *m);
|
||||
// Fl_Menu_Item* picked(const Fl_Menu_Item* v);
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
typedef Fl_Menu_Bar Fl_Sys_Menu_Bar;
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user