diff --git a/include/wx/msw/toplevel.h b/include/wx/msw/toplevel.h index e1681e0568..1af76489f9 100644 --- a/include/wx/msw/toplevel.h +++ b/include/wx/msw/toplevel.h @@ -142,8 +142,9 @@ protected: // helper of SetIcons(): calls gets the icon with the size specified by the // given system metrics (SM_C{X|Y}[SM]ICON) from the bundle and sets it - // 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); // is the window currently iconized?