Project file for wxDialog-based app is in attachment I've added some content into dialog since wxDialog can not have menus nor toolbars
Many Thanks to You, Byo!
I'll add the same contents to wxFormBuilder, too.
wxSmith uses the same scheme as in current wizard, this can be changed without any harm to wxSmith's behaviour. Maybe current content of files could be tweaked a little bit because wxSmith always generates list of includes in source/header files - these could be disabled when using PCH by putting inside #if block. wxSmith should easily handle this
OK, I'll change the PCH Pre-processor definition to
WX_PRECOMP. This is also supported by wxFormBuilder. As wxSmith can use it easily, this could solve our problem.
@rjmyst3As byo wrote that wxSmith can support
WX_PRECOMP Pre-processor definition without any problem, I'll go ahead with it.
The following code, in the generated header, should not be a problem. AFAIK, if you wish to use this header to create Pre-Compiled Header then the following code is necessary, otherwise Not. IMHO, the following code is bit redundant.
#ifdef WX_GCH
#include <wx_pch.h>
#else
#include <wx/wx.h>
#endif
During compilation of cpp file, this code may not play a big role.
Regards,
Biplab