Search found 4 matches

by PetyrRahl
Wed Aug 10, 2005 4:15 pm
Forum: C++ Development
Topic: DeletePendingObjects and thread safety
Replies: 5
Views: 1314

possibly, but I'm pretty sure it's the main thread that originally pops up the save dialog. Here's the sequenece of events 1) In my app I say file->exit 2) Exit goes through and starts deleting everything. Eventually this hits the main parent MDI frame which "owns" the wxDocManager. 3) The...
by PetyrRahl
Tue Aug 09, 2005 8:00 pm
Forum: C++ Development
Topic: DeletePendingObjects and thread safety
Replies: 5
Views: 1314

Actually as it turns out there are no wxThread objects being used anywhere in the application. This came up as a result of the threading that the wxWidets libarary itself does.
by PetyrRahl
Tue Aug 09, 2005 6:33 pm
Forum: C++ Development
Topic: DeletePendingObjects and thread safety
Replies: 5
Views: 1314

DeletePendingObjects and thread safety

Short version: If you have a long running delete for an object, that somewhere down the line makes a call to wxYield, there's a potential crash because your delete might be called several times. Here's the offending code, 1 void wxAppBase::DeletePendingObjects() 2{ 3 wxList::compatibility_iterator n...
by PetyrRahl
Tue Jul 26, 2005 11:24 pm
Forum: Platform Related Issues
Topic: wxGTK & wxMac 2.6.1 sashtest differences & tabbed in
Replies: 0
Views: 798

wxGTK & wxMac 2.6.1 sashtest differences & tabbed in

the sashtest looks one way on Linux and looks completely different on the mac. On linux you've got one window with several sub-frames that have borders that can be resized and then some tabbed frames that can be added for drawing in. On Mac you've just got those child frames, which act as completely...