[wx-dev] [ wxwindows-Bugs-1957649 ] wxNoteBook & dynamic AddPage

SourceForge.net noreply at sourceforge.net
Sun May 4 20:33:30 PDT 2008


Bugs item #1957649, was opened at 2008-05-05 05:31
Message generated for change (Settings changed) made by lexof
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1957649&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxBase
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: LeXof (lexof)
Assigned to: Nobody/Anonymous (nobody)
>Summary: wxNoteBook & dynamic AddPage

Initial Comment:
Hi there,

Ususally, I try to find by myself, but there ... my best friend "John Google", doesn't want me to get my answer.

So, it's why I really need help, and why I'm hoping anybody would know what's happening :)

As a summary : 

wxWidgets 2.8.6
Windows XP pro SP2

I'm using a "thread" which contains a "client socket" listening to specific queries from the dedicated server. 

As an answer to one of them, my application adds a new page within the NoteBook of my GUI.

It does ... but it's freezing the whole application and the only thing I can do, is to kill it.

Anyone would know if it is a known issue whith wxNoteBook class, or why it reacts like this ?

Thank you for your help.

Bye
leXof

For information my code seems to be very basic :

      - A wxThread launch a "while instruction" listening the entering streams
      
      - if it begins with a specific string :
      
      - page adding with :

            myNoteBook->AddPage(new wxPanel(myNotebook, wxNewId(), wxDefaultPosition, wxDefaultSize, _("id")), _("mytitle"),false);


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1957649&group_id=9863


More information about the wx-dev mailing list