Index: ossp-pkg/as/as-gui/as_assist.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v rcsdiff -q -kk '-r1.112' '-r1.113' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_assist.cpp,v' 2>/dev/null --- as_assist.cpp 2003/02/21 23:42:09 1.112 +++ as_assist.cpp 2003/02/27 13:57:47 1.113 @@ -501,8 +501,7 @@ if (pHelppopup == NULL) // Sanity check throw Genexcept("Main window help popup creation failed."); m_pMenubar->insertItem(trUtf8("&Help"), pHelppopup); - nMenuid = pHelppopup->insertItem(trUtf8("&Contents"), this, SLOT(helpContents()), Key_F1); - pHelppopup->setItemEnabled(nMenuid, false); + pHelppopup->insertItem(trUtf8("&Contents"), this, SLOT(helpContents()), Key_F1); pHelppopup->insertSeparator(); pHelppopup->insertItem(trUtf8("About &AS-GUI"), this, SLOT(aboutTitraq())); pHelppopup->insertItem(trUtf8("About &OSSP"), this, SLOT(aboutOSSP())); Index: ossp-pkg/as/as-gui/as_slot.cpp RCS File: /v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v rcsdiff -q -kk '-r1.133' '-r1.134' -u '/v/ossp/cvs/ossp-pkg/as/as-gui/as_slot.cpp,v' 2>/dev/null --- as_slot.cpp 2003/02/25 09:29:58 1.133 +++ as_slot.cpp 2003/02/27 13:57:47 1.134 @@ -63,6 +63,7 @@ #include "as_pref.h" // For Preferences class #include "as_panel.h" // For Prefpanel class #include "as_reportpanel.h" // For Reportpanel class +#include "as_helpanel.h" // For Helpanel class #include "as_sfile.h" // For Simplefile class #include "as_table.h" // For TiTable class @@ -1858,8 +1859,15 @@ // void Titraqform::helpContents(void) { - Prototype Unimp; - Unimp.doMbox(); + try { // Create and execute a new help contents window + std::auto_ptr pHelpcont(new AS::Helpanel(this, "Helpanel")); + pHelpcont->exec(); + delete pHelpcont.release(); // Technically unnecessary, smart pointer + } + catch (Genexcept& Genex) { + Genex.reportErr(); + return; + } } //