X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwx_util.h;h=bff11647edb653c92eade0b72ac6d3a939f04538;hb=92cafb6fc686a041354da2eabde6bcb2f6846e1d;hp=6cde08a90924dd93977d628d4b94ac1f48c730a5;hpb=62365221dd3cd80d6b771e9bf22b4f9365ee096a;p=dcpomatic.git diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index 6cde08a90..bff11647e 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -18,20 +18,25 @@ */ #include +#include #include #include class wxFilePickerCtrl; class wxSpinCtrl; +class wxGridBagSizer; /** @file src/wx/wx_util.h * @brief Some utility functions and classes. */ extern void error_dialog (wxWindow *, wxString); +extern bool confirm_dialog (wxWindow *, wxString); extern wxStaticText* add_label_to_sizer (wxSizer *, wxWindow *, wxString, int prop = 0); +extern wxStaticText* add_label_to_grid_bag_sizer (wxGridBagSizer *, wxWindow *, wxString, wxGBPosition, wxGBSpan span = wxDefaultSpan); extern std::string wx_to_std (wxString); extern wxString std_to_wx (std::string); +extern void dcpomatic_setup_i18n (); /** @class ThreadedStaticText *