STR 2894: pressed_menubutton_ now protected in Fl_Menu_Button

This commit is contained in:
Matthias Melcher 2023-01-20 15:22:21 +01:00
parent 4f3f2bb30b
commit b19c0e4f63
2 changed files with 2 additions and 1 deletions

View File

@ -56,6 +56,7 @@
class FL_EXPORT Fl_Menu_Button : public Fl_Menu_ {
protected:
void draw() FL_OVERRIDE;
static Fl_Menu_Button* pressed_menu_button_;
public:
/**
\brief indicate what mouse buttons pop up the menu.

View File

@ -20,7 +20,7 @@
#include <FL/fl_draw.H>
static Fl_Menu_Button *pressed_menu_button_ = 0;
Fl_Menu_Button* Fl_Menu_Button::pressed_menu_button_ = NULL;
void Fl_Menu_Button::draw() {