On Sat, 20 May 2023 23:50:51 +0200 Maarten Bent wrote:
MB> 1) There are indeed no .vcxproj or .sln for the samples. Only the
MB> minimal sample has these.
We still have to do something about this, but I still have no idea what (I
planned to try using Premake for generating them, but never got around to
even trying to do this seriously).
MB> 2) I see the same problem. UNICODE define is missing. For a quick test I
MB> added it to stdafx.h.
MB> Since the master branch is unicode only, I think we can always define this.
MB>
MB> 3) And then I get the build problems too. Easy to fix by making them a
MB> wide string using 'L', e.g.L"MainAccelTable".
MB> After that, the sample builds and runs.
If you already have these changes, could you please push them to a branch
and make a PR with them?
MB> This sample has indeed not been maintained for a while. I wanted to try
MB> it with CMake, but there it has been disabled since the initial CMake
MB> system was created 6 years ago:
MB>
https://github.com/wxWidgets/wxWidgets/blob/master/build/cmake/samples/CMakeLists.txt#L282
This sample can't be enabled by default because it requires MFC and even
MSVS installation doesn't need to (and is quite likely not to) have MFC
installed.
Regards,
VZ