projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
282a517
)
Fix default directory for film's setup on Windows (#49).
author
Carl Hetherington
<cth@carlh.net>
Mon, 11 Feb 2013 20:21:22 +0000
(20:21 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 11 Feb 2013 20:21:22 +0000
(20:21 +0000)
src/wx/dir_picker_ctrl.cc
patch
|
blob
|
history
diff --git
a/src/wx/dir_picker_ctrl.cc
b/src/wx/dir_picker_ctrl.cc
index b6558a881eee90169ba681cc9ff8757ff2a0b01a..ec7854764e048c435819e129467c33a051f0a28f 100644
(file)
--- 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