Move wxTaskBarButton into core library.

Author: Chaobin Zhang

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2014-09-10 14:51:51 +00:00
parent 1439cc95c5
commit c13a06abb0
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;
}