Re: Code generation
Dietmar Schwertberger <[email protected]> Thu, 24 Sep 2020 19:29:13 +0200
| Newsgroups | gmane.comp.python.wxglade |
|---|---|
| Message-ID | <[email protected]> |
On 17.09.2020 17:40, Igor Korot wrote:
> Hi, Dietmar,
> It would be nice if for C++ the cpp code added the following:
>
> [code]
> #ifdef __BORLANDC__
> #pragma hdrstop
> #endif
>
> #ifndef WX_PRECOMP
> #include "wx/wx.h"
> #endif
>
> [/code]
>
I'm currently looking into this.
The demos from the wxWidgets distribution seem to have these lines:
// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif
So, shouldn't '#include "wx/wxprec.h"' be the first line?
Regards,
Dietmar
_______________________________________________
wxGlade-general mailing list
wxGlade-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/wxglade-general