]> git.saurik.com Git - wxWidgets.git/blobdiff - 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
index 9e53271b0f0aa26f69c07e8ee44e207c97866d69..c44fb51744d865dc5cb796c22feff3fdcd53abae 100644 (file)
 
 #include "guiframe.h"
 
 
 #include "guiframe.h"
 
-class CtrlMaskOut;
-
-
 class ScreenshotFrame : public GUIFrame
 {
 public:
     ScreenshotFrame(wxFrame *frame);
 class ScreenshotFrame : public GUIFrame
 {
 public:
     ScreenshotFrame(wxFrame *frame);
-    ~ScreenshotFrame();
+    ~ScreenshotFrame() {}
 
 protected:      // event handlers
 
 
 protected:      // event handlers
 
@@ -28,20 +25,7 @@ protected:      // event handlers
     virtual void OnSeeScreenshots( wxCommandEvent& event);
 
     virtual void OnCaptureFullScreen( wxCommandEvent& event );
     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 );
     virtual void OnCaptureAllControls( wxCommandEvent& event );
-
-    virtual void OnNotebookPageChanged( wxNotebookEvent& event );
-    virtual void OnNotebookPageChanging( wxNotebookEvent& event );
-
-private:
-    // Helper functions
-    void InitFBControls();
-
-    // Data members
-    bool capturingRect;
-    CtrlMaskOut * m_maskout;
 };
 
 #endif // _SCREENSHOT_MAIN_H_
 };
 
 #endif // _SCREENSHOT_MAIN_H_