summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-11-20 22:35:48 +0100
committerCarl Hetherington <cth@carlh.net>2021-11-20 22:44:19 +0100
commit2d2af972a53a2c11b95469058803b4eaed2d3c01 (patch)
treebe9b117ded86780e66f5926aa418619a019cdf9a /src/wx/wx_util.h
parent83e5ff9a10b8f2e44bfc0d25d3f55eb06f3af518 (diff)
Extract dpi_scale_factor() to a function.
Diffstat (limited to 'src/wx/wx_util.h')
-rw-r--r--src/wx/wx_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h
index 585a30611..30e2b739a 100644
--- a/src/wx/wx_util.h
+++ b/src/wx/wx_util.h
@@ -120,6 +120,7 @@ extern bool report_errors_from_last_job (wxWindow* parent);
extern wxString bitmap_path (std::string name);
extern wxSize small_button_size (wxWindow* parent, wxString text);
extern bool gui_is_dark ();
+extern double dpi_scale_factor (wxWindow* window);
struct Offset