summaryrefslogtreecommitdiff
path: root/src/wx/smpte_metadata_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-02-09 02:06:04 +0100
committerCarl Hetherington <cth@carlh.net>2025-02-09 17:29:16 +0100
commitd0308d53dd9f4d036d8c5fe8023920fcdfd43f39 (patch)
tree5b37c1db5dc50e541a542663390061f743fe815a /src/wx/smpte_metadata_dialog.h
parent8d0d9866ae3e0395d899705e27b3806a5de7ef0e (diff)
Remove unnecessary wx_ptr
It was only ever used for wxDialog subclasses, which can be stack-allocated.
Diffstat (limited to 'src/wx/smpte_metadata_dialog.h')
-rw-r--r--src/wx/smpte_metadata_dialog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wx/smpte_metadata_dialog.h b/src/wx/smpte_metadata_dialog.h
index 4ac943f7a..c63efd045 100644
--- a/src/wx/smpte_metadata_dialog.h
+++ b/src/wx/smpte_metadata_dialog.h
@@ -19,6 +19,10 @@
*/
+#ifndef DCPOMATIC_SMPTE_METADATA_DIALOG_H
+#define DCPOMATIC_SMPTE_METADATA_DIALOG_H
+
+
#include "editable_list.h"
#include "full_language_tag_dialog.h"
#include "metadata_dialog.h"
@@ -66,3 +70,7 @@ private:
wxTextCtrl* _distributor;
EditableList<std::string, ContentVersionDialog>* _content_versions;
};
+
+
+#endif
+