aboutsummaryrefslogtreecommitdiff
path: root/src/preferences
diff options
context:
space:
mode:
Diffstat (limited to 'src/preferences')
-rw-r--r--src/preferences/BoardPrefs.hpp3
-rw-r--r--src/preferences/EditorPrefs.hpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/preferences/BoardPrefs.hpp b/src/preferences/BoardPrefs.hpp
index ce975f3..7be1dfb 100644
--- a/src/preferences/BoardPrefs.hpp
+++ b/src/preferences/BoardPrefs.hpp
@@ -115,6 +115,9 @@ public:
virtual wxBitmap GetLargeIcon() {
return wxArtProvider::GetBitmap(wxART_HELP, wxART_TOOLBAR);
}
+ virtual wxBitmapBundle GetIcon() {
+ return wxBitmapBundle::FromBitmap(LoadPNG("ui_rook"));
+ }
virtual wxWindow *CreateWindow(wxWindow *parent) {
return new BoardPrefsPanel(parent);
}
diff --git a/src/preferences/EditorPrefs.hpp b/src/preferences/EditorPrefs.hpp
index 09abac7..1db5714 100644
--- a/src/preferences/EditorPrefs.hpp
+++ b/src/preferences/EditorPrefs.hpp
@@ -63,6 +63,9 @@ public:
virtual wxBitmap GetLargeIcon() {
return wxArtProvider::GetBitmap(wxART_HELP, wxART_TOOLBAR);
}
+ virtual wxBitmapBundle GetIcon() {
+ return wxBitmapBundle::FromBitmap(LoadPNG("ui_text_alt"));
+ }
virtual wxWindow *CreateWindow(wxWindow *parent) {
return new EditorPrefsPanel(parent);
}