diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-02-11 20:21:22 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-02-11 20:21:22 +0000 |
| commit | e650b7b674d2739b932b3429415e5d785e5f0246 (patch) | |
| tree | 04d1f649b23584dec8e59312a28479d287ea3f8a /src/wx/dir_picker_ctrl.cc | |
| parent | 282a517babdab6f9ff14c47313233b784dbb4a10 (diff) | |
Fix default directory for film's setup on Windows (#49).
Diffstat (limited to 'src/wx/dir_picker_ctrl.cc')
| -rw-r--r-- | src/wx/dir_picker_ctrl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/dir_picker_ctrl.cc b/src/wx/dir_picker_ctrl.cc index b6558a881..ec7854764 100644 --- a/src/wx/dir_picker_ctrl.cc +++ b/src/wx/dir_picker_ctrl.cc @@ -19,6 +19,7 @@ #include <wx/wx.h> #include <wx/stdpaths.h> +#include <wx/filepicker.h> #include <boost/filesystem.hpp> #include "dir_picker_ctrl.h" #include "wx_util.h" @@ -52,6 +53,9 @@ DirPickerCtrl::SetPath (wxString p) } else { _folder->SetLabel (std_to_wx (filesystem::path (wx_to_std (_path)).leaf().string())); } + + wxCommandEvent ev (wxEVT_COMMAND_DIRPICKER_CHANGED, wxID_ANY); + GetEventHandler()->ProcessEvent (ev); } wxString |
