diff --git a/shim/icon.ico b/shim/icon.ico deleted file mode 100644 index 3599a26..0000000 Binary files a/shim/icon.ico and /dev/null differ diff --git a/shim/resource.h b/shim/resource.h index fee1e59..e15cb51 100644 --- a/shim/resource.h +++ b/shim/resource.h @@ -5,7 +5,6 @@ #define IDS_IMAGE_PATH 1 #define IDS_ARGS 2 #define IDS_CAPABILITIES 3 -#define IDI_main 101 #define IDS_STRING102 102 // Next default values for new objects diff --git a/shim/shim.rc b/shim/shim.rc index de5509b..4fe8f08 100644 --- a/shim/shim.rc +++ b/shim/shim.rc @@ -116,16 +116,6 @@ END #endif // APSTUDIO_INVOKED - -///////////////////////////////////////////////////////////////////////////// -// -// Icon -// - -// Icon with lowest ID value placed first to ensure application icon -// remains consistent on all systems. -IDI_main ICON "icon.ico" - #endif // English (United Kingdom) resources ///////////////////////////////////////////////////////////////////////////// diff --git a/shim/shim.vcxproj b/shim/shim.vcxproj index da972a9..e534071 100644 --- a/shim/shim.vcxproj +++ b/shim/shim.vcxproj @@ -163,9 +163,6 @@ - - - diff --git a/shmake/resources.cpp b/shmake/resources.cpp index ad04194..8085089 100644 --- a/shmake/resources.cpp +++ b/shmake/resources.cpp @@ -187,6 +187,7 @@ void resources::replace_icon(const resources& other) // todo: copy all icons - need to enumerate EnumResourceNames lpNames, not just the first resource raw_copy(other, RT_ICON); + raw_copy(other, RT_GROUP_ICON); } void resources::open_for_edit()