swaroop: fix build.
authorCarl Hetherington <cth@carlh.net>
Sat, 8 Dec 2018 20:59:46 +0000 (20:59 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 8 Dec 2018 20:59:46 +0000 (20:59 +0000)
src/tools/dcpomatic_playlist.cc
src/wx/player_config_dialog.cc

index bee9205..bac47d6 100644 (file)
@@ -21,6 +21,7 @@
 #include "../wx/wx_util.h"
 #include "../wx/wx_signal_manager.h"
 #include "../wx/content_view.h"
+#include "../wx/dcpomatic_button.h"
 #include "../lib/util.h"
 #include "../lib/config.h"
 #include "../lib/cross.h"
index 254a84c..b16c76b 100644 (file)
@@ -431,7 +431,7 @@ private:
                        );
                _panel->GetSizer()->Add(_monitor_list, 1, wxEXPAND | wxALL, _border);
 
-               Button* get = new wxButton(_panel, _("Read current devices"));
+               wxButton* get = new Button(_panel, _("Read current devices"));
                _panel->GetSizer()->Add(get, 0, wxEXPAND | wxALL, DCPOMATIC_SIZER_GAP);
                get->Bind(wxEVT_BUTTON, bind(&DevicesPage::get_clicked, this));
        }