wxpython

Discussion in 'Python' started by pet100us, Jun 16, 2004.

  1. pet100us

    pet100us Guest

    Hi,

    I have a problem with repainting the windows. The following problem
    occurs:
    A wxPanel contains a wxListbook with some wxPanels. When the user
    pushes a button it deleted the wxListbook and creates a new wxWindow
    object(e.g. a new wxListbook) and put that on the place of the old
    wxListbook. For deleting i see the Destroy method.

    The thing is that the wxListbook is deleted (i get a gray background)
    but the new created wxWindow is not visible. As soon as i minimize the
    window and maximize it again the new wxWindow is there. This needs to
    be some repaint problem. I already tried the methods Repaint and
    Update but that is not helping.

    Thanks in advance
    pet100us
     
    pet100us, Jun 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anand
    Replies:
    1
    Views:
    361
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    784
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    776
    David Bolen
    Dec 11, 2003
  4. Ruben Charles
    Replies:
    6
    Views:
    506
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Oct 25, 2005
  5. Robin Dunn
    Replies:
    0
    Views:
    536
    Robin Dunn
    Mar 28, 2006
Loading...

Share This Page