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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user