@MaartenBent I'd be grateful for your review of this, TIA!
https://github.com/wxWidgets/wxWidgets/pull/26473
(2 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
build/cmake/setup.h.in is a copy of ./setup.h.in, which also has the double defines. Not sure if this part is auto-generated or just copied.
Decoupling wxUSE_GRAPHICS_DIRECT2D from wxUSE_GRAPHICS_CONTEXT seems fine to me. Originally it tried to match the defines in the visual studio setup.h file. Just make sure the code correctly handles the case when wxUSE_GRAPHICS_CONTEXT is off but wxUSE_GRAPHICS_DIRECT2D is on.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
build/cmake/setup.h.inis a copy of./setup.h.in, which also has the double defines. Not sure if this part is auto-generated or just copied.
Ugh, sorry for stupidly forgetting about this. These checks come from setup_inc.h so I need to either modify it or improve the generation script. This needs more time than I have right now :-(
Decoupling
wxUSE_GRAPHICS_DIRECT2DfromwxUSE_GRAPHICS_CONTEXTseems fine to me. Originally it tried to match the defines in the visual studio setup.h file. Just make sure the code correctly handles the case whenwxUSE_GRAPHICS_CONTEXTis off butwxUSE_GRAPHICS_DIRECT2Dis on.
Is this a valid build configuration? I don't think so but OTOH include/wx/msw/chkconf.h doesn't check for this, so maybe it is...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()