Add missing ev.Skip(), causing a blank DCP notebook page on the old macOS build ...
authorCarl Hetherington <cth@carlh.net>
Fri, 25 Apr 2025 15:46:57 +0000 (17:46 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 25 Apr 2025 21:31:05 +0000 (23:31 +0200)
Thank you and thank you again to
https://discuss.wxpython.org/t/wx-notebook-has-blank-pages-on-windows/27393/2
without whom I never would have worked this out.

src/wx/film_editor.cc

index fae02787ab2c12d5cc8e9328138a4d4fea0933d7..a137ae8050e7f173903d8ca368a98b506bcec942 100644 (file)
@@ -82,6 +82,8 @@ FilmEditor::page_changed(wxBookCtrlEvent& ev)
        if (_film && ev.GetOldSelection() < 2) {
                _film->set_ui_state("FilmEditorTab", ev.GetSelection() == 0 ? "content" : "dcp");
        }
+
+       ev.Skip();
 }