aboutsummaryrefslogtreecommitdiff
path: root/src/preferences/BoardPrefs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences/BoardPrefs.hpp')
-rw-r--r--src/preferences/BoardPrefs.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/preferences/BoardPrefs.hpp b/src/preferences/BoardPrefs.hpp
index 7be1dfb..68d6f02 100644
--- a/src/preferences/BoardPrefs.hpp
+++ b/src/preferences/BoardPrefs.hpp
@@ -6,7 +6,9 @@
#include <wx/preferences.h>
#include <wx/spinctrl.h>
#include <wx/stdpaths.h>
-
+#ifdef __APPLE__
+#include <wx/bmpbndl.h>
+#endif
/**
* @brief Configuration page for the BoardCanvas
*
@@ -115,9 +117,11 @@ public:
virtual wxBitmap GetLargeIcon() {
return wxArtProvider::GetBitmap(wxART_HELP, wxART_TOOLBAR);
}
+ #ifdef __APPLE__
virtual wxBitmapBundle GetIcon() {
return wxBitmapBundle::FromBitmap(LoadPNG("ui_rook"));
}
+ #endif
virtual wxWindow *CreateWindow(wxWindow *parent) {
return new BoardPrefsPanel(parent);
}