Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro

This commit is contained in:
ManoloFLTK 2024-04-05 10:57:46 +02:00
parent 9d9646fb12
commit fe6ab4ebc2

View File

@ -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