|
|
commit fe6ab4ebc2c106fb135b26c1d7234b1591c383a5
Author: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Apr 5 10:57:46 2024 +0200
Commit: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Apr 5 10:57:46 2024 +0200
Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro
FL/fl_callback_macros.H | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git FL/fl_callback_macros.H FL/fl_callback_macros.H
index b1c2a34..398d848 100644
--- FL/fl_callback_macros.H
+++ FL/fl_callback_macros.H
@@ -60,8 +60,8 @@
Fl_Button *btn2 = new Fl_Button(10, 40, 100, 20, "Hello");
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
+ const char *, "Hello\n%d %d %d %d",
+ int, 1, int, 2, int, 3, int, 4
);
\endcode
[ Direct Link to Message ] | |
|
| |