diff options
Diffstat (limited to 'src/preferences/EditorPrefs.hpp')
| -rw-r--r-- | src/preferences/EditorPrefs.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/preferences/EditorPrefs.hpp b/src/preferences/EditorPrefs.hpp index 1db5714..657fa9c 100644 --- a/src/preferences/EditorPrefs.hpp +++ b/src/preferences/EditorPrefs.hpp @@ -5,7 +5,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 EditorCanvas * @@ -63,9 +65,11 @@ public: virtual wxBitmap GetLargeIcon() { return wxArtProvider::GetBitmap(wxART_HELP, wxART_TOOLBAR); } + #ifdef __APPLE__ virtual wxBitmapBundle GetIcon() { return wxBitmapBundle::FromBitmap(LoadPNG("ui_text_alt")); } + #endif virtual wxWindow *CreateWindow(wxWindow *parent) { return new EditorPrefsPanel(parent); } |
