summaryrefslogtreecommitdiff
path: root/src/wx/content_menu.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-02 00:08:36 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-02 00:08:36 +0100
commita8025ae69b2fc6c6f191eefc119582fbdae0b50a (patch)
tree41262c83ebbcb8e22c2a00ff88e6a1ff6d14d9a5 /src/wx/content_menu.h
parenta1033e637454ee2782473a13a867161970b49944 (diff)
Use non-modal ContentPropertiesDialog.
This stops the really annoying behaviour where you drag it and the main DoM frame shrinks (maybe only on Linux).
Diffstat (limited to 'src/wx/content_menu.h')
-rw-r--r--src/wx/content_menu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/content_menu.h b/src/wx/content_menu.h
index e7f095390..41695c33f 100644
--- a/src/wx/content_menu.h
+++ b/src/wx/content_menu.h
@@ -34,6 +34,7 @@ LIBDCP_ENABLE_WARNINGS
#include <memory>
+class ContentPropertiesDialog;
class DCPContent;
class Film;
class FilmViewer;
@@ -90,6 +91,8 @@ private:
wxMenuItem* _set_dcp_markers;
wxMenuItem* _remove;
+ ContentPropertiesDialog* _content_properties_dialog = nullptr;
+
wx_ptr<AutoCropDialog> _auto_crop_dialog;
boost::signals2::scoped_connection _auto_crop_config_connection;
boost::signals2::scoped_connection _auto_crop_viewer_connection;