X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.h;h=14f203688668a7aa2a424bf909f279e12884a5d9;hb=3c29aa6531a4046a8db72dcac81189eb8893233c;hp=585a30611ec82f462ac0f129ce8c32f668a06956;hpb=8eaf36467713e7ba9a1a2272a44aa1581e31c1b0;p=dcpomatic.git diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 585a30611..14f203688 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -29,13 +29,13 @@ #include "lib/dcpomatic_time.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS -#include -DCPOMATIC_ENABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -#include +#include +LIBDCP_ENABLE_WARNINGS #include +#include class FilePickerCtrl; @@ -120,6 +120,8 @@ 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); +extern int search_ctrl_height (); struct Offset @@ -157,7 +159,7 @@ extern int wx_get (wxChoice* widget); extern int wx_get (wxSpinCtrl* widget); extern double wx_get (wxSpinCtrlDouble* widget); -#if defined(__WXMSW__) +#ifdef DCPOMATIC_WINDOWS #define DCPOMATIC_USE_OWN_PICKER #endif