summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-04-25 17:46:57 +0200
committerCarl Hetherington <cth@carlh.net>2025-04-25 23:31:05 +0200
commit1c32777dedaa8208d3554507098d26f6d2434256 (patch)
tree38d4d1e785661655ef30a10553a03071fbcb2241
parent3dac582f2d143c4a40deaa9897afbd01683d9c13 (diff)
Add missing ev.Skip(), causing a blank DCP notebook page on the old macOS build (#3018).
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.
-rw-r--r--src/wx/film_editor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/film_editor.cc b/src/wx/film_editor.cc
index fae02787a..a137ae805 100644
--- a/src/wx/film_editor.cc
+++ b/src/wx/film_editor.cc
@@ -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();
}