summaryrefslogtreecommitdiff
path: root/ui/SmallDialogs.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:01:29 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:01:29 +0200
commit9a2a524f1e311853d08050be2dcdddc09ac7759a (patch)
treed8e4a24169fce88c2d89931d58514889a0bcb0ea /ui/SmallDialogs.h
parent2.3 (diff)
downloadFreeFileSync-9a2a524f1e311853d08050be2dcdddc09ac7759a.tar.gz
FreeFileSync-9a2a524f1e311853d08050be2dcdddc09ac7759a.tar.bz2
FreeFileSync-9a2a524f1e311853d08050be2dcdddc09ac7759a.zip
3.0
Diffstat (limited to 'ui/SmallDialogs.h')
-rw-r--r--ui/SmallDialogs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/SmallDialogs.h b/ui/SmallDialogs.h
index 6e9d0414..3a07167a 100644
--- a/ui/SmallDialogs.h
+++ b/ui/SmallDialogs.h
@@ -12,7 +12,7 @@ class StatusHandler;
namespace FreeFileSync
{
- class SyncStatistics;
+class SyncStatistics;
}
@@ -43,7 +43,7 @@ private:
class FilterDlg : public FilterDlgGenerated
{
public:
- FilterDlg(wxWindow* window, wxString& filterIncl, wxString& filterExcl);
+ FilterDlg(wxWindow* window, Zstring& filterIncl, Zstring& filterExcl);
~FilterDlg() {}
enum
@@ -58,8 +58,8 @@ private:
void OnCancel(wxCommandEvent& event);
void OnClose(wxCloseEvent& event);
- wxString& includeFilter;
- wxString& excludeFilter;
+ Zstring& includeFilter;
+ Zstring& excludeFilter;
};
@@ -147,7 +147,7 @@ private:
class QuestionDlg : public QuestionDlgGenerated
{
public:
- QuestionDlg(wxWindow* parentWindow, int activeButtons, const wxString messageText, bool& dontShowAgain);
+ QuestionDlg(wxWindow* parentWindow, int activeButtons, const wxString messageText, bool* dontShowAgain = NULL);
enum
{
@@ -162,7 +162,7 @@ private:
void OnYes(wxCommandEvent& event);
void OnNo(wxCommandEvent& event);
- bool& dontShowAgain;
+ bool* dontShowAgain; //optional
};
@@ -318,7 +318,7 @@ public:
void updateStatusDialogNow();
void setCurrentStatus(SyncStatusID id);
- void processHasFinished(SyncStatusID id); //essential to call this in StatusUpdater derived class destructor at the LATEST(!) to prevent access to currentStatusUpdater
+ void processHasFinished(SyncStatusID id, const wxString& finalMessage); //essential to call this in StatusUpdater derived class destructor at the LATEST(!) to prevent access to currentStatusUpdater
private:
void OnOkay(wxCommandEvent& event);
bgstack15