X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fconfig_dialog.h;h=9924909273a0b62c84f662adebb3f1fc0fd5f592;hb=9b85acc342e0cbfc6a9f9533bb7067978bd1294e;hp=b2ebbe605b16eeab20d482d82c17dd85a7fb3618;hpb=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26;p=dcpomatic.git diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h index b2ebbe605..992490927 100644 --- a/src/wx/config_dialog.h +++ b/src/wx/config_dialog.h @@ -44,7 +44,6 @@ DCPOMATIC_DISABLE_WARNINGS DCPOMATIC_ENABLE_WARNINGS #include #include -#include #include class AudioMappingView; @@ -85,7 +84,7 @@ public: #ifdef DCPOMATIC_OSX wxBitmap GetLargeIcon () const { - return wxBitmap ("general", wxBITMAP_TYPE_PNG_RESOURCE); + return wxBitmap(bitmap_path("general"), wxBITMAP_TYPE_PNG); } #endif @@ -114,9 +113,9 @@ public: wxWindow* parent, wxString title, int border, - boost::function)> set, - boost::function (void)> get, - boost::function nag_alter + std::function)> set, + std::function (void)> get, + std::function nag_alter ); void add_button (wxWindow* button); @@ -145,9 +144,9 @@ private: wxStaticText* _private_key_bad; wxSizer* _sizer; wxBoxSizer* _button_sizer; - boost::function)> _set; - boost::function (void)> _get; - boost::function _nag_alter; + std::function)> _set; + std::function (void)> _get; + std::function _nag_alter; }; class KeysPage : public Page @@ -162,7 +161,7 @@ public: #ifdef DCPOMATIC_OSX wxBitmap GetLargeIcon () const { - return wxBitmap ("keys", wxBITMAP_TYPE_PNG_RESOURCE); + return wxBitmap(bitmap_path("keys"), wxBITMAP_TYPE_PNG); } #endif @@ -192,7 +191,7 @@ public: #ifdef DCPOMATIC_OSX wxBitmap GetLargeIcon () const { - return wxBitmap ("sound", wxBITMAP_TYPE_PNG_RESOURCE); + return wxBitmap(bitmap_path("sound"), wxBITMAP_TYPE_PNG); } #endif