diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-04 12:07:12 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-06-04 12:07:12 +0200 |
| commit | cffa5f1186db7e3733c5b64bf1fb5ec94013a549 (patch) | |
| tree | 19211cfe8bca556e107a569a5eefa5dd555a2d29 /src/preferences/EditorPrefs.hpp | |
| parent | 40f0d247905003af19933dc48738657cbc2c0c72 (diff) | |
Debug wxBitmapBundle
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); } |
