summaryrefslogtreecommitdiff
path: root/src/wx/config_dialog.cc
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.cc
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.cc')
-rw-r--r--src/wx/config_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index c018a1251..1bd5036e7 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -1081,7 +1081,7 @@ LocationsPage::GetName () const
wxBitmap
LocationsPage::GetLargeIcon () const
{
- return wxBitmap ("locations", wxBITMAP_TYPE_PNG_RESOURCE);
+ return wxBitmap(bitmap_path("locations"), wxBITMAP_TYPE_PNG);
}
#endif