wxDirSelector not modal

Stefan Csomor csomor at advancedconcepts.ch
Mon Feb 18 10:43:54 PST 2008


Hi

> On Mon, 18 Feb 2008 18:50:03 +0100 Riccardo Cohen <rcohen at articque.com> wrote:
> 
> RC> I tried to give one parent, and yes the dir selector is modal for this
> RC> parent, but unfortunately it is not modal for the parent of the parent.
> RC> Same for file selector.
> 
>  Same for any dialog unless the parent is itself modal dialog. A modal
> dialog disables its parent but not all the other windows in the application
> (and why should it?) and I think wxMac should behave the same.

and you would possibly have a reentrant event handler ? in the end you might
end up with two file dialogs ? I've experimented in a sandbox with handling
of non-modal and frame-modal file boxes (sheets), but I've always
implemented them with callbacks, so that I don't add more event handlers in
the stack, does msw just have multiple event loops on the stack in this
case? 

Best,

Stefan







More information about the wx-users mailing list