summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-25 14:21:37 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-27 09:36:37 +0200
commit329ed48ccdb37835b9e1fb2c53a2fb86e2eede53 (patch)
tree1dd97d6d120e21e4f63e9ace5985c477451add0a /src/wx
parentdf9b4676aba8b941f124b174393988cad21677e1 (diff)
Put wx::report_problem() in a dcpomatic namespace.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/wx_util.cc2
-rw-r--r--src/wx/wx_util.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index e4229c1b7..932e4e0bd 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -833,7 +833,7 @@ report_config_load_failure(wxWindow* parent, Config::LoadFailure what)
wxString
-wx::report_problem()
+dcpomatic::wx::report_problem()
{
return std_to_wx(::report_problem());
}
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index 2968ce9ff..92cdd349b 100644
--- a/src/wx/wx_util.h
+++ b/src/wx/wx_util.h
@@ -140,9 +140,11 @@ struct Offset
extern int get_offsets (std::vector<Offset>& offsets);
+namespace dcpomatic {
namespace wx {
extern wxString report_problem();
}
+}
extern void checked_set (FilePickerCtrl* widget, boost::filesystem::path value);