Class Fl_Single_Window declares but doesn't implement method make_current().

Also, add missing doc for methods Fl_XXX_Window::show(int, char**).
This commit is contained in:
ManoloFLTK 2022-10-07 09:21:37 +02:00
parent e9719e5416
commit f2532964cc
3 changed files with 3 additions and 2 deletions

View File

@ -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();

View File

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

View File

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