When the wxWidgets wizard asks for the wxWidgets installation directory you can also use a global variable, but this is easily overlooked. This patch adds a hint about this and a format example,
That page is shown only on MSW despite the string being always created:
localwxpath_msg=_T("Please select the location of wxWidgets on your computer.\n"+"This is the top-level folder where wxWidgets was unpacked.\n"+"To help you, this folder must contain the subfolders\n"+"\"include\" and \"lib\".");8<.......>8if(PLATFORM==PLATFORM_MSW)Wizard.AddGenericSelectPathPage(_T("WxPath"),wxpath_msg,_T("wxWidgets' location:"),_T("$(#wx)"));
I have modified the patch so it now creates the variable wxpath_msg only if it will be really used. Targets also needed the patch.
BTW the string is defined twice (one for projects and the other for targets); it can be unified.
Is this only affecting windows? Does it affect linux? On linux the global variable hint is not helpful, but it might cause confusion.
That page is shown only on MSW despite the string being always created:
I have modified the patch so it now creates the variable wxpath_msg only if it will be really used. Targets also needed the patch.
BTW the string is defined twice (one for projects and the other for targets); it can be unified.
Would you provide a patch which fixes the duplication? I don't insist, I just want to know if I have to apply this version.
Last edit: Teodor Petrov 2020-02-06
This version removes the duplication
The patch was applied in r11959, so the ticket can be closed.
Other wizards (p.e. SDL) can benefit from similar changes
Thanks, patches welcome as always :)