]> git.saurik.com Git - wxWidgets.git/blob - utils/screenshotgen/src/screenshot_main.h
Use wxID_EXIT for the "Quit" item in the exec sample.
[wxWidgets.git] / utils / screenshotgen / src / screenshot_main.h
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: screenshot_main.h
3 // Purpose: Defines the Application Frame
4 // Author: Utensil Candel (UtensilCandel@@gmail.com)
5 // RCS-ID: $Id$
6 // Licence: wxWindows licence
7 /////////////////////////////////////////////////////////////////////////////
8
9 #ifndef _SCREENSHOT_MAIN_H_
10 #define _SCREENSHOT_MAIN_H_
11
12 #include "guiframe.h"
13
14 class ScreenshotFrame : public GUIFrame
15 {
16 public:
17 ScreenshotFrame(wxFrame *frame);
18 ~ScreenshotFrame() {}
19
20 protected: // event handlers
21
22 virtual void OnClose(wxCloseEvent& event);
23 virtual void OnQuit(wxCommandEvent& event);
24 virtual void OnAbout(wxCommandEvent& event);
25 virtual void OnSeeScreenshots( wxCommandEvent& event);
26
27 virtual void OnCaptureFullScreen( wxCommandEvent& event );
28 virtual void OnCaptureAllControls( wxCommandEvent& event );
29 };
30
31 #endif // _SCREENSHOT_MAIN_H_