[wx-dev] Re: CVS: [ABX] wxWidgets/src/msw textctrl.cpp, 1.277,
1.278
ABX
abx at abx.art.pl
Fri Oct 27 04:43:28 PDT 2006
Vadim Zeitlin <vadim at wxwindows.org>:
> Hmm, I've looked at the code before removing it and noticed that:
>
>1. wx/msw/private.h includes wx/msw/wrapwin.h
>2. wx/msw/wrapwin.h includes windows.h followed by wx/msw/winundef.h
>3. windows.h is not included again anywhere
>4. so there should be no need to include wx/msw/winundef.h again
>
> So why is this wrong?
Probably because you are reading them as you see in source while in pch build
they are included much earlier by wxprec.h so once windowsx.h is included
winundef seems required again and next wx/msw/private.h include can be
'invisible'. I had that build error however I did not had time to experiment
with it much sorry so it just guessing.
ABX
More information about the wx-dev
mailing list