#ifndef _AP_WXCONFIGTOOL_H_
#define _AP_WXCONFIGTOOL_H_
-#ifdef __GNUG__
-#pragma interface wxconfigtool.cpp
-#endif
-
#include "wx/docview.h"
#include "wx/help.h"
+#include "wx/app.h"
#ifdef __WXMSW__
#include "wx/msw/helpchm.h"
ctApp();
/// Destructor.
- ~ctApp();
+ ~ctApp(){};
// Accessors
/// Returns the notebook window.
wxNotebook* GetNotebookWindow() { return m_notebookWindow; }
- /// Returns TRUE if the application should show tooltips.
+ /// Returns true if the application should show tooltips.
virtual bool UsingTooltips();
/// Returns the help controller object for the manual.
wxHelpControllerBase& GetHelpController() { return *m_helpController; }
- /// Returns the help controller object for the wxWindows reference manual.
+ /// Returns the help controller object for the wxWidgets reference manual.
wxHelpControllerBase& GetReferenceHelpController() { return *m_helpControllerReference; }
/// Returns the document manager object.
/// Saves config info to the registry or a file.
virtual bool SaveConfig();
- /// The help controller needs to be cleared before wxWindows
+ /// The help controller needs to be cleared before wxWidgets
/// cleanup happens.
void ClearHelpControllers() ;
/// The application directory.
wxString m_appDir;
- /// Global print data, to remember settings during the session.
- wxPrintData m_printData;
-
- /// Global page setup data.
- wxPageSetupDialogData m_pageSetupData;
-
/// Notebook window.
wxNotebook* m_notebookWindow;
// File menu ids
#define ctID_SAVE_SETUP_FILE 1001
#define ctID_SAVE_CONFIGURE_COMMAND 1002
+#define ctID_GO 1003
// Edit menu ids
#define ctID_ADD_ITEM 1030