summaryrefslogtreecommitdiff
path: root/ui/search.cpp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:08:42 +0200
commitc32707148292d104c66276b43796d6057c8c7a5d (patch)
treebb83513f4aff24153e21a4ec92e34e4c27651b1f /ui/search.cpp
parent3.9 (diff)
downloadFreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.gz
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.tar.bz2
FreeFileSync-c32707148292d104c66276b43796d6057c8c7a5d.zip
3.10
Diffstat (limited to 'ui/search.cpp')
-rw-r--r--ui/search.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/search.cpp b/ui/search.cpp
index 3fdb4d8b..23cf89b1 100644
--- a/ui/search.cpp
+++ b/ui/search.cpp
@@ -9,6 +9,7 @@
#include <wx/msgdlg.h>
#include <wx/utils.h>
#include <utility>
+#include "mouse_move_dlg.h"
class SearchDlg : public SearchDialogGenerated
@@ -37,6 +38,11 @@ SearchDlg::SearchDlg(wxWindow& parentWindow, wxString& searchText, bool& respect
searchText_(searchText),
respectCase_(respectCase)
{
+#ifdef FFS_WIN
+ new ffs3::MouseMoveWindow(*this, //allow moving main dialog by clicking (nearly) anywhere...
+ this); //ownership passed to "this"
+#endif
+
m_checkBoxMatchCase->SetValue(respectCase_);
m_textCtrlSearchTxt->SetValue(searchText_);
bgstack15