- // using WM_SETICON with the specified wParam (ICOM_SMALL or ICON_BIG)
- void DoSelectAndSetIcon(const wxIconBundle& icons, int smX, int smY, int i);
+ // using WM_SETICON with the specified wParam (ICOM_SMALL or ICON_BIG);
+ // returns true if the icon was set
+ bool DoSelectAndSetIcon(const wxIconBundle& icons, int smX, int smY, int i);