-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compile error against wxWidgets with 2.8 compat
When wxWidgets is compiled in 2.8 compatibility mode, some function calls become ambiguous. The fix is pretty simple (except for figuring out where to put the BITMAPBUNDLE macro) so let me spend the remaining space here by complaining about how ridiculous the second candidate invocation is. The intended invocation previously only involved a single implicit conversion, from wxBitmap to wxBitmapBundle. The unintended one involves conversions: - from wxString to wxBitmap - from wxString to bool - from wxItemKind (an enum) to wxCoord (typedef'd to int)
- Loading branch information
1 parent
dea997a
commit 75c4917
Showing
3 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters