summaryrefslogtreecommitdiff
path: root/ui/batch_config.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:59 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:24:59 +0200
commita1c91f4695e208d5a8f80dc37b1818169b7829ff (patch)
tree52f5134376d17c99b6c9e53133a2eb5cf171377c /ui/batch_config.cpp
parent5.16 (diff)
downloadFreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.gz
FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.tar.bz2
FreeFileSync-a1c91f4695e208d5a8f80dc37b1818169b7829ff.zip
5.17
Diffstat (limited to 'ui/batch_config.cpp')
-rw-r--r--ui/batch_config.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/batch_config.cpp b/ui/batch_config.cpp
index bd82194d..bf3436f1 100644
--- a/ui/batch_config.cpp
+++ b/ui/batch_config.cpp
@@ -7,6 +7,7 @@
#include "batch_config.h"
#include <wx/wupdlock.h>
#include <wx+/mouse_move_dlg.h>
+#include <wx+/std_button_order.h>
#include <wx+/font_size.h>
#include "gui_generated.h"
#include "dir_name.h"
@@ -67,9 +68,11 @@ BatchDialog::BatchDialog(wxWindow* parent,
BatchDlgGenerated(parent),
batchCfgOutRef(batchCfg)
{
-#ifdef FFS_WIN
+#ifdef ZEN_WIN
new zen::MouseMoveWindow(*this); //allow moving main dialog by clicking (nearly) anywhere...; ownership passed to "this"
#endif
+ setStandardButtonOrder(*bSizerStdButtons, StdButtons().setAffirmative(m_buttonSaveAs).setCancel(m_buttonCancel));
+
wxWindowUpdateLocker dummy(this); //avoid display distortion
setRelativeFontSize(*m_staticTextHeader, 1.25);
@@ -85,7 +88,7 @@ BatchDialog::BatchDialog(wxWindow* parent,
Fit(); //child-element widths have changed: image was set
Layout();
- m_buttonSave->SetFocus();
+ m_buttonSaveAs->SetFocus();
}
bgstack15