Dialogs end up behind wxFRAME_FLOAT_ON_PARENT frames

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
deepti
Experienced Solver
Experienced Solver
Posts: 93
Joined: Tue Jul 17, 2018 5:38 pm

Dialogs end up behind wxFRAME_FLOAT_ON_PARENT frames

Post by deepti » Fri Oct 05, 2018 11:08 am

Hi All,

When you create a frame in Mac using the wxFRAME_FLOAT_ON_PARENT style any modal dialogs you pop up with the frame as the parent actually show up BEHIND the frame? On windows this work situation works properly.

I am seeing this issue on Mac High Sierra, wxWidgets 3.1.0.

I see there was a ticket created for this (link below), but it is really confusing whether it was fixed or not?

http://trac.wxwidgets.org/ticket/4355

If it is indeed fixed, could you please let me know the file that was changed, so that I can pull in just that file instead of getting the entire source..

PB
Part Of The Furniture
Part Of The Furniture
Posts: 1970
Joined: Sun Jan 03, 2010 5:45 pm

Re: Dialogs end up behind wxFRAME_FLOAT_ON_PARENT frames

Post by PB » Fri Oct 05, 2018 12:16 pm

deepti wrote:I see there was a ticket created for this (link below), but it is really confusing whether it was fixed or not?
Why did you find it confusing, the ticket was closed as "fixed" and there is a link to a commit fixing the issue:
https://github.com/wxWidgets/wxWidgets/ ... 219bfb5d28 If you still can reproduce the issue with wxWidgets 3.1.1, you should reopen the ticket.

You can see the changes in the commit, however, I am not sure that merging only those changes and therefore diverging from the official distribution is a good idea. Why would you do do that instead of simply upgrading to 3.1.1, i.e., the last official release of the 3.1 branch (and particularly when you are already on a development branch)?

Post Reply