Move wxTaskBarButton into core library.

Author: Chaobin Zhang

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chaobin, Zhang
2014-09-10 09:15:07 +00:00
parent b1971e614c
commit c17570e8e2
7 changed files with 26 additions and 9 deletions

View File

@@ -86,7 +86,8 @@ wxIcon CreateRandomIcon()
wxIcon icon;
icon.CopyFromBitmap(CreateBitmap(*(colours[counter]), 16, 16));
counter = (++counter) % WXSIZEOF(colours);
counter += 1;
counter = counter % WXSIZEOF(colours);
return icon;
}