projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump version
[dcpomatic.git]
/
src
/
wx
/
dir_picker_ctrl.cc
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/wx.h>
#include <wx/stdpaths.h>
+#include <wx/filepicker.h>
#include <boost/filesystem.hpp>
#include "dir_picker_ctrl.h"
#include "wx_util.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()));
}
} 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
}
wxString