www.digitalmars.com         C & C++   DMDScript  

c++.wxwindows - Weird display default right beneath the menu bar

reply "Denis Crespe" <null1 movimento.biz> writes:
Hello,

I compile the wxWindows 2.4.2's samples and they work well but I get stuck
with a small display default right under the menu bar : there is a more or
less broken blue line as you can see on the picture enclosed.

This happens in every samples so I thought someone may help me fix this
issue. I compiled the wx's samples a long time ago with VC++ and I don't
remember having seen this.

Thanks for you help,
Denis
Jan 14 2004
next sibling parent reply Jan Knepper <jan smartsoft.us> writes:
Make sure you have a .def file and are using it while linking with the 
following:

NAME		"<YourAppName>"
DESCRIPTION	'<YourAppDescription'
EXETYPE		NT
SUBSYSTEM	WINDOWS,4.0
STUB		'WINSTUB.EXE'
CODE		 EXECUTE READ
DATA		 READ WRITE
STACKSIZE	1048576,4096
HEAPSIZE	1048576,4096

Or, if you are using the IDDE, make sure you target Windows 95!



Denis Crespe wrote:

 Hello,
 
 I compile the wxWindows 2.4.2's samples and they work well but I get stuck
 with a small display default right under the menu bar : there is a more or
 less broken blue line as you can see on the picture enclosed.
 
 This happens in every samples so I thought someone may help me fix this
 issue. I compiled the wx's samples a long time ago with VC++ and I don't
 remember having seen this.
 
 Thanks for you help,
 Denis
 
 
 

-- ManiaC++ Jan Knepper But as for me and my household, we shall use Mozilla... www.mozilla.org
Jan 14 2004
parent reply "Walter" <newshound digitalmars.com> writes:
"Jan Knepper" <jan smartsoft.us> wrote in message
news:bu51eh$ael$2 digitaldaemon.com...
 Make sure you have a .def file and are using it while linking with the
 following:

 NAME "<YourAppName>"
 DESCRIPTION '<YourAppDescription'
 EXETYPE NT
 SUBSYSTEM WINDOWS,4.0
 STUB 'WINSTUB.EXE'
 CODE EXECUTE READ
 DATA READ WRITE
 STACKSIZE 1048576,4096
 HEAPSIZE 1048576,4096

 Or, if you are using the IDDE, make sure you target Windows 95!

I've added this to the FAQ: www.digitalmars.com/faq.html#subsystem
May 24 2004
parent reply "Włodzimierz Skiba" <abx abx.art.pl> writes:
"Walter" <newshound digitalmars.com> wrote in
news:c8ufq1$24ib$1 digitaldaemon.com: 
 Or, if you are using the IDDE, make sure you target Windows 95! 

I've added this to the FAQ: www.digitalmars.com/faq.html#subsystem

Thanks, I've asked for introducing this to Bakefiles: http://cvs.sourceforge.net/viewcvs.py/bakefile/bakefile/rules/makefile_defs_dmars_comm n.bkl?r1=1.3&r2=1.1 ABX
May 27 2004
parent Ilya Minkov <minkov cs.tum.edu> writes:
W=B3odzimierz Skiba schrieb:
 "Walter" <newshound digitalmars.com> wrote in
 news:c8ufq1$24ib$1 digitaldaemon.com:=20
=20
Or, if you are using the IDDE, make sure you target Windows 95!=20

I've added this to the FAQ: www.digitalmars.com/faq.html#subsystem=20

=20 Thanks, I've asked for introducing this to Bakefiles: http://cvs.sourceforge.net/viewcvs.py/bakefile/bakefile/rules/makefile_=

=20
 ABX

apparently this works also as command-line option to the linker: /exet:nt/su:windows:4.0 -eye
Aug 03 2004
prev sibling parent chris elliott <biol75 york.ac.uk> writes:
Denis Crespe wrote:

 Hello,
 
 I compile the wxWindows 2.4.2's samples and they work well but I get stuck
 with a small display default right under the menu bar : there is a more or
 less broken blue line as you can see on the picture enclosed.
 
 This happens in every samples so I thought someone may help me fix this
 issue. I compiled the wx's samples a long time ago with VC++ and I don't
 remember having seen this.
 
 Thanks for you help,
 Denis
 
 
 

chris
Jan 15 2004