mirror of
https://github.com/fltk/fltk.git
synced 2026-05-25 09:17:49 +08:00
Fix MSVC compiler warning
warning C4099: 'Fl_Menu_Item': type name first seen using 'struct' now seen using 'class'
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ public:
|
||||
// each vertical menu has one of these:
|
||||
class menuwindow : public Fl_Menu_Window {
|
||||
friend class Fl_Window_Driver;
|
||||
friend class Fl_Menu_Item;
|
||||
friend struct Fl_Menu_Item;
|
||||
void draw();
|
||||
void drawentry(const Fl_Menu_Item*, int i, int erase);
|
||||
int handle_part1(int);
|
||||
|
||||
Reference in New Issue
Block a user