Obviously not, because WxWidgets creates the window/HWND as a black box.
This is the primary issue of connecting Vulkan with WxWidgets, because they create the window I need to use.
The updated questions are,
Is it possible to make WxWidgets create a compatible window? Since WxW is provided as source, it should be possible to change it - but that could be a large job.
Is there a work around if it can’t?
I’ve read something about telling WxWidgets to use GLFW as it’s windowing system, but I’ve only seen comments that such a thing exists and no explanation as to how to enable it.
However, in the example I was using they used “VK_KHR_surface” instead of its macro - VK_KHR_SURFACE_EXTENSION_NAME. I had attempted to use VK_KHR_surface (unquoted) for the macro, searched for a macro of that name, could not find one and incorrectly assumed it was deprecated. So I removed it.
Thanks to Jim Orcheson’s GitHub - jimorc/wxVulkanTutorial, it clarified the problem and vkCreateWin32SurfaceKHR now creates a surface which is usable by Vulkan.