swaroop variant build fix.
[dcpomatic.git] / src / wx / player_config_dialog.cc
index 20ddde99202ce1321b6429580a7dbdb670f771b8..adbf2167ba0451ccc77500b4f6da6e31379ee9f7 100644 (file)
@@ -85,7 +85,6 @@ private:
 
                int r = 0;
                add_language_controls (table, r);
-               add_play_sound_controls (table, r);
                add_update_controls (table, r);
 
                add_label_to_sizer (table, _panel, _("Start player as"), true, wxGBPosition(r, 0));
@@ -312,7 +311,7 @@ private:
 
 #ifdef DCPOMATIC_VARIANT_SWAROOP
                add_label_to_sizer (table, _panel, _("Background image"), true, wxGBPosition (r, 0));
-               _background_image = new FilePickerCtrl (_panel, _("Select image file"), "*.png;*.jpg;*.jpeg;*.tif;*.tiff", true);
+               _background_image = new FilePickerCtrl (_panel, _("Select image file"), "*.png;*.jpg;*.jpeg;*.tif;*.tiff", true, false);
                table->Add (_background_image, wxGBPosition (r, 1));
                ++r;
 #endif
@@ -684,6 +683,7 @@ create_player_config_dialog ()
 #endif
 
        e->AddPage (new PlayerGeneralPage(wxSize(-1, 500), border));
+       e->AddPage (new SoundPage(ps, border));
        e->AddPage (new LocationsPage(ps, border));
        e->AddPage (new KeysPage(ps, border));
 #ifdef DCPOMATIC_VARIANT_SWAROOP