- // then create an "invisible" frame: it has minimal size, is positioned
- // (hopefully) outside the screen and doesn't appear on the taskbar
- wxWindow *winActive = new wxFrame
+ // then create an "invisible" dialog: it has minimal size, is positioned
+ // (hopefully) outside the screen and doesn't appear in the Alt-TAB list
+ // (unlike the frames, which is why we use a dialog here)
+ wxWindow *winActive = new wxDialog