assert in wxTopLevelWindowMSW::SetIcon[s]() if none of the provided icons has required size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -222,7 +222,9 @@ public:
|
||||
reference counting, the copy is very quick. It is safe to
|
||||
delete @a icon after calling this function.
|
||||
|
||||
@see wxIcon
|
||||
@note In wxMSW, @a icon must be either 16x16 or 32x32 icon.
|
||||
|
||||
@see wxIcon, SetIcons()
|
||||
*/
|
||||
void SetIcon(const wxIcon& icon);
|
||||
|
||||
@@ -235,7 +237,10 @@ public:
|
||||
@param icons
|
||||
The icons to associate with this window.
|
||||
|
||||
@see wxIconBundle.
|
||||
@note In wxMSW, @a icons must contain a 16x16 or 32x32 icon,
|
||||
preferably both.
|
||||
|
||||
@see wxIconBundle
|
||||
*/
|
||||
virtual void SetIcons(const wxIconBundle& icons);
|
||||
|
||||
|
Reference in New Issue
Block a user