Event handling in Console mode application

Sébastien PELLE sebastien.pelle at atosorigin.com
Fri Mar 28 03:00:08 PDT 2008


I launched a compilation of the newly downloaded trunk and I got an error :

C:\wxWidgets-trunk\build\msw>mingw32-make -f makefile.gcc BUILD=release
UNICODE=0 SHARED=1
if not exist ..\..\lib\gcc_dll\msw mkdir ..\..\lib\gcc_dll\msw
g++ -c -o gcc_mswdll\coredll_printdlg.o  -O2 -mthreads  -DHAVE_W32API_H
-D__WXMS
W__      -DwxUSE_UNICODE=0   -I..\..\lib\gcc_dll\msw -I..\..\include -W
-Wall -D
WXBUILDING -I..\..\src\tiff\libtiff -I..\..\src\jpeg -I..\..\src\png
-I..\..\src
\zlib -I..\..\src\regex -I..\..\src\expat\lib -DWXUSINGDLL
-DWXMAKINGDLL_CORE -D
wxUSE_BASE=0   -Wno-ctor-dtor-privacy   -MTgcc_mswdll\coredll_printdlg.o
-MFgcc_
mswdll\coredll_printdlg.o.d -MD ../../src/msw/printdlg.cpp
../../src/msw/printdlg.cpp: In member function `virtual bool
wxWindowsPrintNativ
eData::TransferFrom(const wxPrintData&)':
../../src/msw/printdlg.cpp:425: error: invalid static_cast from type
`BYTE[32]'
to type `wxChar*'
mingw32-make: *** [gcc_mswdll\coredll_printdlg.o] Error 1

Did I do something wrong ?

Regards,
Sébastien PELLÉ

-----Message d'origine-----
De : wx-users-bounces+sebastien.pelle=atosorigin.com at lists.wxwidgets.org
[mailto:wx-users-bounces+sebastien.pelle=atosorigin.com at lists.wxwidgets.org]
De la part de Vadim Zeitlin
Envoyé : vendredi 28 mars 2008 10:23
À : wx-users at lists.wxwidgets.org
Objet : Re[4]: Event handling in Console mode application

On Fri, 28 Mar 2008 08:49:13 +0100 Sébastien PELLE
<sebastien.pelle at atosorigin.com> wrote:

SP> I assume I have to compile the trunk version in the same way I 
SP> compiled the
SP> 2.8 ?

 Yes, but see docs/changes.txt.

SP> What about using the Connect method ?

 Sorry, what about it?
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

_______________________________________________
wx-users mailing list
wx-users at lists.wxwidgets.org
http://lists.wxwidgets.org/mailman/listinfo/wx-users



More information about the wx-users mailing list