mirror of
https://github.com/alexkay/spek.git
synced 2026-11-22 03:06:44 +03:00
win: Set window icon
This commit is contained in:
1 parent
a318529ecd
commit
9c736788ed
3 files changed
+10
-2
No files matched your search
Vendored
+1
-1
@@ -28,7 +28,7 @@ LDFLAGS="dist/win/spek.res" ./configure \
|
||||
--with-wx-config="$WX_CONFIG" \
|
||||
--prefix=${PWD}/dist/win/build && \
|
||||
"$MAKE" && \
|
||||
"$MAKE" install
|
||||
"$MAKE" install || exit 1
|
||||
"$STRIP" dist/win/build/bin/spek.exe
|
||||
"$UPX" dist/win/build/bin/spek.exe
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
0 ICON "spek.ico"
|
||||
aaaa ICON "spek.ico"
|
||||
@@ -47,6 +47,14 @@ wxIconBundle SpekArtProvider::CreateIconBundle(const wxArtID& id, const wxArtCli
|
||||
if (id == ART_SPEK) {
|
||||
#ifdef OS_UNIX
|
||||
return wxArtProvider::GetIconBundle(wxT("spek"), client);
|
||||
#endif
|
||||
#ifdef OS_WIN
|
||||
wxIconBundle bundle;
|
||||
bundle.AddIcon(wxIcon(wxT("aaaa"), wxBITMAP_TYPE_ICO_RESOURCE, 16, 16));
|
||||
bundle.AddIcon(wxIcon(wxT("aaaa"), wxBITMAP_TYPE_ICO_RESOURCE, 24, 24));
|
||||
bundle.AddIcon(wxIcon(wxT("aaaa"), wxBITMAP_TYPE_ICO_RESOURCE, 32, 32));
|
||||
bundle.AddIcon(wxIcon(wxT("aaaa"), wxBITMAP_TYPE_ICO_RESOURCE, 48, 48));
|
||||
return bundle;
|
||||
#endif
|
||||
}
|
||||
return wxNullIconBundle;
|
||||
|
||||
Reference in new issue
Block a user