From f2532964cc8b326d00354f11d551727795a99319 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 7 Oct 2022 09:21:37 +0200 Subject: [PATCH] Class Fl_Single_Window declares but doesn't implement method make_current(). Also, add missing doc for methods Fl_XXX_Window::show(int, char**). --- FL/Fl_Double_Window.H | 1 + FL/Fl_Overlay_Window.H | 1 + FL/Fl_Single_Window.H | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/FL/Fl_Double_Window.H b/FL/Fl_Double_Window.H index b3396c431..73f8fddf0 100644 --- a/FL/Fl_Double_Window.H +++ b/FL/Fl_Double_Window.H @@ -35,6 +35,7 @@ public: */ virtual Fl_Double_Window *as_double_window() {return this; } void show(); + /** Same as Fl_Window::show(int a, char **b) */ void show(int a, char **b) {Fl_Window::show(a,b);} void resize(int,int,int,int); void hide(); diff --git a/FL/Fl_Overlay_Window.H b/FL/Fl_Overlay_Window.H index d19bc3dc1..13676ab90 100644 --- a/FL/Fl_Overlay_Window.H +++ b/FL/Fl_Overlay_Window.H @@ -70,6 +70,7 @@ protected: */ Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0); public: + /** Same as Fl_Window::show(int a, char **b) */ void show(int a, char **b) {Fl_Double_Window::show(a,b);} virtual Fl_Overlay_Window *as_overlay_window() {return this; } }; diff --git a/FL/Fl_Single_Window.H b/FL/Fl_Single_Window.H index 01878db5c..bab37b4dc 100644 --- a/FL/Fl_Single_Window.H +++ b/FL/Fl_Single_Window.H @@ -32,6 +32,7 @@ class FL_EXPORT Fl_Single_Window : public Fl_Window { public: void show(); + /** Same as Fl_Window::show(int a, char **b) */ void show(int a, char **b) {Fl_Window::show(a,b);} /** @@ -45,8 +46,6 @@ public: position, size, and label (title) string. */ Fl_Single_Window(int X, int Y, int W, int H, const char *l=0); - - int make_current(); }; #endif