X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2Fcursesm.h;h=259d107fb447728bedf4b7b6d273266fad57ed8f;hp=45b6c0cc73be5496d434773263b2779040cab51c;hb=a0bb9c404174926bf131a5989a0524a6eecd09eb;hpb=1d7867d33e6954be7c7121b1028ad6768f487752 diff --git a/c++/cursesm.h b/c++/cursesm.h index 45b6c0cc..259d107f 100644 --- a/c++/cursesm.h +++ b/c++/cursesm.h @@ -31,7 +31,7 @@ * Author: Juergen Pfeifer, 1997 * ****************************************************************************/ -// $Id: cursesm.h,v 1.28 2012/06/08 17:43:56 Richard.Yao Exp $ +// $Id: cursesm.h,v 1.29 2012/12/29 21:48:33 tom Exp $ #ifndef NCURSES_CURSESM_H_incl #define NCURSES_CURSESM_H_incl 1 @@ -53,7 +53,7 @@ class NCURSES_IMPEXP NCursesMenuItem protected: ITEM *item; - inline void OnError (int err) const THROWS(NCursesMenuException) { + inline void OnError (int err) const THROW2(NCursesException const, NCursesMenuException) { if (err != E_OK) THROW(new NCursesMenuException (err)); } @@ -253,7 +253,7 @@ protected: bool with_frame, bool autoDeleteItems); - inline void OnError (int err) const THROWS(NCursesMenuException) { + inline void OnError (int err) const THROW2(NCursesException const, NCursesMenuException) { if (err != E_OK) THROW(new NCursesMenuException (this, err)); }