summaryrefslogtreecommitdiff
path: root/src/c_fl_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_menu.cpp')
-rw-r--r--src/c_fl_menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/c_fl_menu.cpp b/src/c_fl_menu.cpp
index 411f6a0..daff92b 100644
--- a/src/c_fl_menu.cpp
+++ b/src/c_fl_menu.cpp
@@ -47,17 +47,17 @@ void free_fl_menu(MENU m) {
int fl_menu_add(MENU m, const char * t, unsigned long s, void * c, void * u, unsigned long f) {
- return reinterpret_cast<My_Menu*>(m)->add(t, s, reinterpret_cast<Fl_Callback_p>(c), u, f);
+ return reinterpret_cast<Fl_Menu_*>(m)->add(t, s, reinterpret_cast<Fl_Callback_p>(c), u, f);
}
const void * fl_menu_find_item(MENU m, const char * t) {
- return reinterpret_cast<My_Menu*>(m)->find_item(t);
+ return reinterpret_cast<Fl_Menu_*>(m)->find_item(t);
}
const void * fl_menu_mvalue(MENU m) {
- return reinterpret_cast<My_Menu*>(m)->mvalue();
+ return reinterpret_cast<Fl_Menu_*>(m)->mvalue();
}