summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-17 08:22:25 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-08-17 08:22:25 +0200
commit64f64835dda909e106a4516d64d004b6813a9c1d (patch)
treebd58f1f73d560e9f2083b1e85c3ab54e75adf239
parent336bd01f16b978dfe377524867b4a44f6240acff (diff)
Fix typos in names of Doxygen items (#729)
-rw-r--r--FL/Fl_Widget.H2
-rw-r--r--FL/fl_callback_macros.H4
2 files changed, 3 insertions, 3 deletions
diff --git a/FL/Fl_Widget.H b/FL/Fl_Widget.H
index fc7091225..3036ea582 100644
--- a/FL/Fl_Widget.H
+++ b/FL/Fl_Widget.H
@@ -79,7 +79,7 @@ struct FL_EXPORT Fl_Label {
The destructor of this class is virtual, allowing for additional code to
deallocate resources when the user data is deleted.
- \see FL_FUNCTION_CALLBACK, FL_METHOD_CALLBACK, FL_INLINE_CALLBACK
+ \see FL_FUNCTION_CALLBACK_3, FL_METHOD_CALLBACK_1, FL_INLINE_CALLBACK_2
\see Fl_Widget::callback(Fl_Callback*, Fl_Callback_User_Data*, bool)
\see Fl_Widget::user_data(Fl_Callback_User_Data*, bool)
*/
diff --git a/FL/fl_callback_macros.H b/FL/fl_callback_macros.H
index 589606377..5553a08cf 100644
--- a/FL/fl_callback_macros.H
+++ b/FL/fl_callback_macros.H
@@ -55,10 +55,10 @@
#include <FL/fl_callback_macros.H>
...
Fl_Button *btn1 = new Fl_Button(10, 10, 100, 20, "Beep");
- FL_FUNCTION_CALLBACK(btn1, fl_beep);
+ FL_FUNCTION_CALLBACK_0(btn1, fl_beep);
...
Fl_Button *btn2 = new Fl_Button(10, 40, 100, 20, "Hello");
- FL_FUNCTION_CALLBACK(btn2,
+ FL_FUNCTION_CALLBACK_5(btn2,
fl_message,
const char *, text, "Hello\n%d %d %d %d",
int, a, 1, int, b, 2, int, c, 3, int, d, 4