summaryrefslogtreecommitdiff
path: root/src/fltk_binding/c_fl_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fltk_binding/c_fl_menu.cpp')
-rw-r--r--src/fltk_binding/c_fl_menu.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fltk_binding/c_fl_menu.cpp b/src/fltk_binding/c_fl_menu.cpp
index 457d4f1..e8cbe58 100644
--- a/src/fltk_binding/c_fl_menu.cpp
+++ b/src/fltk_binding/c_fl_menu.cpp
@@ -4,5 +4,7 @@
#include "c_fl_menu.h"
-// wheeee, placeholders
+int fl_menu_add(MENU m, const char * t, unsigned long s, void * c, void * u, unsigned long f) {
+ return reinterpret_cast<Fl_Menu_*>(m)->add(t, s, reinterpret_cast<Fl_Callback_p>(c), u, f);
+}