Fix failure to remove markers when the checkbox is unticked.
[dcpomatic.git] / src / wx / dir_picker_ctrl.h
index f236096598ce07dfbb998fd950b3bda645803a9c..34f46b2dfc4b79c99b041e695f0b6af42d9dbc68 100644 (file)
 #ifndef DCPOMATIC_DIR_PICKER_CTRL
 #define DCPOMATIC_DIR_PICKER_CTRL
 
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
+#include <boost/signals2.hpp>
 
 class DirPickerCtrl : public wxPanel
 {
@@ -31,6 +35,8 @@ public:
        wxString GetPath () const;
        void SetPath (wxString);
 
+       boost::signals2::signal<void ()> Changed;
+
 private:
        void browse_clicked ();