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 bee920501ca32c918953de8aa736bd5ab4db0fcd..bac47d6dbae3ee02067c1e69b7f6375f98fd2ffc 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 254a84c8a6180be875d733f3788f182952f7a056..b16c76b363f27648159640991c36eb87b72f3458 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));
        }