Extract dpi_scale_factor() to a function.
[dcpomatic.git] / src / wx / wx_util.h
index 3fa2ebe258b4426e0ff9b5e44b26c856054eb756..cd9a06a4fc5b2851443e0ec55f24a9ed7d49c69f 100644 (file)
@@ -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