summaryrefslogtreecommitdiff
path: root/src/wx/config_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-06-06 12:58:25 +0200
committerCarl Hetherington <cth@carlh.net>2021-06-06 12:58:25 +0200
commitb8925c349ae62a288f81da657c8c96876d617f0c (patch)
tree1f665c750b510ff8f2ed49a50eb60eb50789d043 /src/wx/config_dialog.h
parentf26f3ee5791440776e847ac96bad4ebeb83055a6 (diff)
Use bitmap_path() and wxBITMAP_TYPE_PNG (not _RESOURCE) to allow prefs to work with in-tree builds.
Diffstat (limited to 'src/wx/config_dialog.h')
-rw-r--r--src/wx/config_dialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h
index dd0e92152..992490927 100644
--- a/src/wx/config_dialog.h
+++ b/src/wx/config_dialog.h
@@ -84,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
@@ -161,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
@@ -191,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