]> git.saurik.com Git - wxWidgets.git/blame - utils/screenshotgen/src/screenshot_main.h
Don't use a destroy event handler to disconnect the native control's delegate as...
[wxWidgets.git] / utils / screenshotgen / src / screenshot_main.h
CommitLineData
0d5eda9c
FM
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 license
7/////////////////////////////////////////////////////////////////////////////
8
f978831f
BP
9#ifndef _SCREENSHOT_MAIN_H_
10#define _SCREENSHOT_MAIN_H_
0d5eda9c
FM
11
12#include "guiframe.h"
13
51d48751 14class ScreenshotFrame : public GUIFrame
0d5eda9c
FM
15{
16public:
4bae10bd 17 ScreenshotFrame(wxFrame *frame);
ecba92ec 18 ~ScreenshotFrame() {}
0d5eda9c
FM
19
20protected: // 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 );
0d5eda9c 28 virtual void OnCaptureAllControls( wxCommandEvent& event );
0d5eda9c
FM
29};
30
f978831f 31#endif // _SCREENSHOT_MAIN_H_