7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-21 21:33:44 +00:00

Keep FP chooser on top of KiCad but not system

We don't need to float the window over other programs, so setting to
parental floating keeps it focused just the right amount

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16840
This commit is contained in:
Seth Hillbrand 2024-05-02 13:11:08 -07:00
parent b649932dbf
commit 60f59ae851

View File

@ -71,7 +71,7 @@ END_EVENT_TABLE()
#define MODAL_FRAME ( wxRESIZE_BORDER | wxSYSTEM_MENU | wxCAPTION | wxCLOSE_BOX | wxCLIP_CHILDREN \
| wxWANTS_CHARS | wxFRAME_NO_TASKBAR | wxSTAY_ON_TOP )
| wxWANTS_CHARS | wxFRAME_NO_TASKBAR | wxFRAME_FLOAT_ON_PARENT )
FOOTPRINT_CHOOSER_FRAME::FOOTPRINT_CHOOSER_FRAME( KIWAY* aKiway, wxWindow* aParent ) :