How wxUiEditor supports wxBitmapBundle #705
KeyWorksRW
started this conversation in
Code Generation
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
wxUiEditor supports the wxBitmapBundle class introduced in wxWidgets 3.1.6. If your project settings specify a wxWidgets 3.1 version, then all bitmap code will be generated in conditionals so that it will use wxBitmapBundle if you compile with wxWidgets 3.1.6 or later, and the regular wxImage/wxBitmap code if you are compiling using an earlier version of wxWidgets.
The exception to the above paragraph is if you specify a SVG file for a bitmap -- since these images require wxWidgets 3.1.6 or later, the entire class will be marked as requiring wxWidgets 3.1.6 or later (if you use 3.1 as your project wxWidgets library setting), and will not compile if you use an earlier version of wxWidgets.
Multiple images will be added automatically if you using one of the following suffixes:
Example:
If the basename contains the suffix
_16x16
then a search will also be made for files with the suffix_24x24
and_32x32
. If the basename contains the suffix_24x24
, then a search will also be made for files with the suffix_36x36
and_48x48
.Example:
Beta Was this translation helpful? Give feedback.
All reactions