]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/screenshotgen/src/screenshot_main.h
Remove USE_GDIPLUS setting from bakefiles.
[wxWidgets.git] / utils / screenshotgen / src / screenshot_main.h
index ae922361fe0f60686a4773ccd1cc8c085a98c0fb..c44fb51744d865dc5cb796c22feff3fdcd53abae 100644 (file)
@@ -6,28 +6,16 @@
 // Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifndef WXSCREENSHOTMAIN_H
-#define WXSCREENSHOTMAIN_H
+#ifndef _SCREENSHOT_MAIN_H_
+#define _SCREENSHOT_MAIN_H_
 
 #include "guiframe.h"
 
-// when defined to 1, wxAui for the main frame
-#define SCREENSHOTGEN_USE_AUI       0
-
-
-class wxCtrlMaskOut;
-
-
-class wxScreenshotFrame
-#if SCREENSHOTGEN_USE_AUI
-: public AuiGUIFrame
-#else
-: public GUIFrame
-#endif
+class ScreenshotFrame : public GUIFrame
 {
 public:
-    wxScreenshotFrame(wxFrame *frame);
-    ~wxScreenshotFrame();
+    ScreenshotFrame(wxFrame *frame);
+    ~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;
-    wxCtrlMaskOut * m_maskout;
 };
 
-#endif // WXSCREENSHOTMAIN_H
+#endif // _SCREENSHOT_MAIN_H_