#ifndef _AP_MAINFRAME_H_
#define _AP_MAINFRAME_H_
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "mainframe.cpp"
-#endif
-
#include "wx/imaglist.h"
#include "wx/docview.h"
#include "wx/notebook.h"
+#include "wx/textctrl.h"
// #define USE_CONFIG_BROWSER_PAGE
class ctMainFrame: public wxDocParentFrame
{
DECLARE_CLASS(ctMainFrame)
- public:
+public:
/// Constructor.
ctMainFrame(wxDocManager *manager, wxFrame *parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
/// Returns the configure page window
ctOutputWindow* GetConfigurePage() const { return m_configurePage; }
- /// Returns the main notebook containing editor and text tabs
+ /// Returns the main notebook containing editor and text tabs
wxNotebook* GetMainNotebook() const { return m_mainNotebook; }
/// Sets the find dialog for future closing
public:
ctOutputWindow(wxWindow* parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
- ~ctOutputWindow();
+ ~ctOutputWindow(){};
/// Initialise the windows.
void CreateWindows();
/// Copies the text to the clipboard.
+#if wxUSE_CLIPBOARD
void OnCopyToClipboard(wxCommandEvent& event);
+#endif // wxUSE_CLIPBOARD
void OnUpdateCopy(wxUpdateUIEvent& event);
/// Regenerates setup.h/configure command