From c0cdb2ad99a1e2a6ade5ce76c91177a79258e669 Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:10:11 +0200 Subject: 3.14 --- ui/gui_status_handler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/gui_status_handler.h') diff --git a/ui/gui_status_handler.h b/ui/gui_status_handler.h index f504270b..c0e75a8d 100644 --- a/ui/gui_status_handler.h +++ b/ui/gui_status_handler.h @@ -48,7 +48,7 @@ private: class SyncStatusHandler : public StatusHandler { public: - SyncStatusHandler(wxTopLevelWindow* parentDlg, bool ignoreAllErrors, const wxString& jobName); + SyncStatusHandler(MainDialog* parentDlg, bool ignoreAllErrors, const wxString& jobName); ~SyncStatusHandler(); virtual void initNewProcess(int objectsTotal, wxLongLong dataTotal, Process processID); @@ -59,11 +59,11 @@ public: virtual ErrorHandler::Response reportError(const wxString& text); virtual void reportFatalError(const wxString& errorMessage); virtual void reportWarning(const wxString& warningMessage, bool& warningActive); - void logInfo(const wxString& infoMessage); private: virtual void abortThisProcess(); + MainDialog* mainDialog; //optional SyncStatus syncStatusFrame; //the window managed by SyncStatus has longer lifetime than this handler! bool ignoreErrors; ffs3::ErrorLogging errorLog; -- cgit