X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f978831f3780667a6b08a3b59b7dcc8a16e4e3dc..797c0bde0dff94f13d71f9623790558d795f0c3b:/utils/screenshotgen/src/screenshot_main.h diff --git a/utils/screenshotgen/src/screenshot_main.h b/utils/screenshotgen/src/screenshot_main.h index 9e7a1bf8a1..c44fb51744 100644 --- a/utils/screenshotgen/src/screenshot_main.h +++ b/utils/screenshotgen/src/screenshot_main.h @@ -11,23 +11,11 @@ #include "guiframe.h" -// when defined to 1, wxAui for the main frame -#define SCREENSHOTGEN_USE_AUI 0 - - -class CtrlMaskOut; - - -class ScreenshotFrame -#if SCREENSHOTGEN_USE_AUI - : public AuiGUIFrame -#else - : public GUIFrame -#endif +class ScreenshotFrame : public GUIFrame { public: ScreenshotFrame(wxFrame *frame); - ~ScreenshotFrame(); + ~ScreenshotFrame() {} protected: // event handlers @@ -37,25 +25,7 @@ protected: // event handlers virtual void OnSeeScreenshots( wxCommandEvent& event); virtual void OnCaptureFullScreen( wxCommandEvent& event ); - virtual void OnCaptureRect( wxCommandEvent& event ); - virtual void OnEndCaptureRect( wxCommandEvent& event ); virtual void OnCaptureAllControls( wxCommandEvent& event ); - -#if SCREENSHOTGEN_USE_AUI - virtual void OnNotebookPageChanged( wxAuiNotebookEvent& event ); - virtual void OnNotebookPageChanging( wxAuiNotebookEvent& event ); -#else - virtual void OnNotebookPageChanged( wxNotebookEvent& event ); - virtual void OnNotebookPageChanging( wxNotebookEvent& event ); -#endif - -private: - // Helper functions - void InitFBControls(); - - // Data members - bool capturingRect; - CtrlMaskOut * m_maskout; }; #endif // _SCREENSHOT_MAIN_H_