(wx-users) Re: problems with wxMSW 2.8.0

Jacob (=Jouk) Jansen joukj at hrem.nano.tudelft.nl
Thu Jan 25 01:11:21 PST 2007


VZ wrote on 24-JAN-2007 17:56:25.18

>On Tue, 23 Jan 2007 11:46:46 +0100 (MET) "Jacob (=Jouk) Jansen" <joukj at hrem.nano.tudelft.nl> wrote:
>
>JJ> The windows XP version seems to be unable to display parts of the graphics.
>JJ> I just cut a small part from my program (I know in the excerpt not all
>JJ> variables are declared) (see below). The wxStaticBox sbox is displayed on
>JJ> all versions correctly. The bitmap drawn to the dc of "canvas" shows itself
>JJ> on VMS and Linux but not on the wxMSW version.
>
> Why do you draw it on wxClientDC and not on wxPaintDC in EVT_PAINT
>handler?
>
>JJ> What do I do wrong? Is there some "memory/stack-size" problem in the wxMSW
>JJ> implementation?
>
> I think the most likely problem is that wxMSW doesn't allow wxClientDC of
>a window to paint over its children.
 I just checked : also writing to wxPaintDC in EVT_PAINT does not show
anything.
	 
	 Jouk


Bush : All votes are equal but some votes are more equal than others.

>------------------------------------------------------------------------------<

  Jouk Jansen
		 
  joukj at hrem.nano.tudelft.nl

  Technische Universiteit Delft        tttttttttt  uu     uu  ddddddd
  Kavli Institute of Nanoscience       tttttttttt  uu     uu  dd    dd
  Nationaal centrum voor HREM              tt      uu     uu  dd     dd
  Lorentzweg 1                             tt      uu     uu  dd     dd
  2628 CJ Delft                            tt      uu     uu  dd     dd
  Nederland                                tt      uu     uu  dd    dd
  tel. 31-15-2782272                       tt       uuuuuuu   ddddddd

>------------------------------------------------------------------------------<





More information about the wx-users mailing list