diff --git a/FL/Fl_Button.H b/FL/Fl_Button.H index 4444df3be..22280e6a3 100644 --- a/FL/Fl_Button.H +++ b/FL/Fl_Button.H @@ -44,9 +44,7 @@ are set to zero.*/ #define FL_HIDDEN_BUTTON 3 ///< for Forms compatibility -#ifndef FL_DOXYGEN extern FL_EXPORT Fl_Shortcut fl_old_shortcut(const char*); -#endif /** \class Fl_Button diff --git a/FL/fl_draw.H b/FL/fl_draw.H index 4a9c1fec3..f416d7363 100644 --- a/FL/fl_draw.H +++ b/FL/fl_draw.H @@ -704,6 +704,7 @@ FL_EXPORT void fl_scroll(int X, int Y, int W, int H, int dx, int dy, void (*draw_area)(void*, int,int,int,int), void* data); FL_EXPORT const char* fl_shortcut_label(unsigned int shortcut); FL_EXPORT const char* fl_shortcut_label(unsigned int shortcut, const char **eom); +FL_EXPORT unsigned int fl_old_shortcut(const char* s); FL_EXPORT void fl_overlay_rect(int x,int y,int w,int h); FL_EXPORT void fl_overlay_clear(); FL_EXPORT void fl_cursor(Fl_Cursor, Fl_Color fg=FL_BLACK, Fl_Color bg=FL_WHITE);