ossp-pkg/as/as-gui/as_slot.cpp 1.133 -> 1.134
--- 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<AS::Helpanel> pHelpcont(new AS::Helpanel(this, "Helpanel"));
+ pHelpcont->exec();
+ delete pHelpcont.release(); // Technically unnecessary, smart pointer
+ }
+ catch (Genexcept& Genex) {
+ Genex.reportErr();
+ return;
+ }
}
//
|
|