Re: wxPopupTransientWindow on MacOS problems.

Tony Kennedy <[email protected]> Fri, 23 May 2025 11:39:45 -0700 (PDT)
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
A follow up to this as I've got it working, so if someone else sees the 
same problem, there is a fix. But I still think there is an issue.

I set the parent for the popup to be the wxPanel where the button to launch 
it is (I use that panel in various places). Below this panel with the 
button is a different wxPanel (containing things like a grid, toolbar etc).

If I set the parent for the popup to be the wxMiniFrame that holds the 
wxPanels, the controls in the popup now work.

Is this a bug? I think it is, it was pure luck I tried a different parent 
for the popup.

Tony.





On Friday, 23 May 2025 at 19:21:04 UTC+1 Tony Kennedy wrote:

> Hi all, 
>
> I'm having some trouble on the Mac (running OSX 15.5) with the 
> wxPopupTransientWindow. I'm trying to have a popup wxCheckListBox to give 
> users the ability to select various filters.
>
> The behaviour is strange. It seems that any mouse click is ignored if 
> there is a control underneath the popup window (except for the button that 
> was used to launch the popup).
>
> In the attached screen shot, I can only click on the top two checkboxes. 
>
> Has anyone else noticed anything like this?
>
> I've also tried creating a series of wxCheckBoxes, the same behaviour 
> happens. It's as if the window underneath blocks any mouse clicks (but the 
> mouse clicks don't actually go to the window underneath).
>
> Thanks in advance,
>
> Tony.
>
>
>
>
>

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/wx-users/0d95a1d8-c6e4-42e8-80ad-c3d7e2506397n%40googlegroups.com.