miniframe, wxSTAY_ON_TOP and wxFileSelector (wx2.9)
Riccardo Cohen
rcohen at articque.com
Wed Feb 27 08:31:32 PST 2008
Hi
In my main frame there are some aui panels which can be floating
(miniframe). In these aui panels there are objects with properties.
We've built a property dialog that shows information, and in that
simple property dialog, the user may launch a file selector to choose a
file.
- When I don't create the property dialog with wxSTAY_ON_TOP, the file
selector acts as modal and my dialog is not available to the user, thats
good. But the property dialog appears under the aui panel if the panel
is floating (win&mac). Moreover on macosx the main frame may come over
the property dialog. So I tried to add wxSTAY_ON_TOP flag at creation time.
- When I create the dialog with wxSTAY_ON_TOP, it appears over the aui
panel, and the main frame cannot cover the dialog on mac, which is good.
But the file selector is no more modal on mac, and the property dialog
is available to the user which is not acceptable.
- I thought about creating my property dialog in an aui pane, but it
makes a lot of change in our code. Do you have any workaround ?
ps : on gtk2 both cases work correctly, the dialog is always above the
panel and the file selector is always application modal.
Thanks for any info
--
Très cordialement,
Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49
More information about the wx-users
mailing list