]> 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 a81ce1352b785fe007f55c242422ff8986d28e4e..c44fb51744d865dc5cb796c22feff3fdcd53abae 100644 (file)
@@ -26,20 +26,6 @@ protected:      // event handlers
 
     virtual void OnCaptureFullScreen( wxCommandEvent& event );
     virtual void OnCaptureAllControls( wxCommandEvent& event );
-
-
-private:
-
-    // Before a config class is written, these two functions are placed here.
-    // It's only a transition and they wil be removed soon
-    wxString GetDefaultDirectory() const { return _T("screenshots"); }
-
-    wxString GetDefaultDirectoryAbsPath() const
-    {
-        wxFileName output = wxFileName::DirName(GetDefaultDirectory());
-        output.MakeAbsolute();
-        return output.GetFullPath();
-    }
 };
 
 #endif // _SCREENSHOT_MAIN_H_