X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.h;h=294c661a87dbed0fe88d59519f16cd872c0e0e7c;hb=2e6f03cbb2c5664bd338ad28bfd6c54732e64b47;hp=8e0befba92d606a4da09cb5302c3b691ea19c69d;hpb=581797d640af1572f884ddf4395924894b745b3a;p=dcpomatic.git diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 8e0befba9..294c661a8 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -26,7 +26,10 @@ #define DCPOMATIC_WX_UTIL_H #include "lib/dcpomatic_time.h" +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS #include #include #include @@ -46,7 +49,7 @@ class PasswordEntry; #define DCPOMATIC_DIALOG_BORDER 12 /** Spacing to use between buttons in a vertical line */ -#ifdef DCPOMATIC_OSX +#if defined(DCPOMATIC_OSX) | defined(__WXGTK3__) #define DCPOMATIC_BUTTON_STACK_GAP 2 #else #define DCPOMATIC_BUTTON_STACK_GAP 0 @@ -87,7 +90,7 @@ extern wxSplashScreen* maybe_show_splash (); extern double calculate_mark_interval (double start); extern bool display_progress (wxString title, wxString task); extern bool report_errors_from_last_job (wxWindow* parent); - +extern wxString bitmap_path (std::string name); struct Offset {