X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2Fcursesw.h;h=62c71ea7d0dd7193f827c541a58fb3648015455d;hp=170027b85d111505ab37d42e446c60069d4944f7;hb=c7bc3019ea01faeaf2baf5b6a9efaf65c5ebe0aa;hpb=40df80d8d3f96c991f55569bce475e71cc38be12 diff --git a/c++/cursesw.h b/c++/cursesw.h index 170027b8..62c71ea7 100644 --- a/c++/cursesw.h +++ b/c++/cursesw.h @@ -30,7 +30,7 @@ #ifndef NCURSES_CURSESW_H_incl #define NCURSES_CURSESW_H_incl 1 -// $Id: cursesw.h,v 1.45 2007/11/17 21:42:06 tom Exp $ +// $Id: cursesw.h,v 1.46 2007/11/24 19:09:09 tom Exp $ #include @@ -1218,8 +1218,8 @@ public: // Extended functions // ------------------------------------------------------------------------- #ifdef NCURSES_EXT_FUNCS - int wresize(NCursesWindow& win, int newLines, int newColumns) { - return ::wresize(win.w, newLines, newColumns); } + int wresize(int newLines, int newColumns) { + return ::wresize(w, newLines, newColumns); } #endif // -------------------------------------------------------------------------