Unlike the existing wxHAS_IMAGES_IN_RESOURCES constant defined only under MSW, the new one is also defined under Mac and could be defined for the other platforms/ports later (e.g. wxQt could probably support it too). It's unfortunate that two very similar constants are needed, but it doesn't seem wise to change the meaning of the existing constant, as this would change how the commonly used wxICON() and wxBITMAP() macros behave and would break all our own samples that use them for their frame icon but don't embed this icon into the bundle resources under Mac. Do change the toolbar sample to use the new constant however, as this one does include the bitmaps it uses in its bundle under Mac. |
||
|---|---|---|
| .. | ||
| msvc/wx | ||
| wx | ||