wxWidgets/samples/popup
Vadim Zeitlin 56c4191168 Reimplement wxPopupWindow as a WS_POPUP window under MSW
Don't use the child window of the desktop window for popup windows under
MSW, while this worked in simplest cases, it didn't allow having
functional controls inside a wxPopupWindow as e.g. wxTextCtrl didn't
accept input it at all if created as a child of such window.

Instead, switch to using a top-level window, with WS_POPUP style, and
fix the problem with the loss of activation by explicitly pretending to
still be active in the owner window when losing activation to our own
popup (thanks to Barmak Shemirani for providing this solution).

Also use an MSW-specific and much simpler implementation of detecting
when the popup should be dismissed in wxPopupTransientWindow: instead of
capturing mouse or tracking focus, just react to activation loss
directly.

Add a wxTextCtrl to the popup in samples/popup to show that editing it
works now.
2018-10-20 22:50:46 +02:00
..
makefile.bcc Remove MSW wxUxThemeEngine class 2018-01-22 00:51:11 +01:00
makefile.gcc Remove MSW wxUxThemeEngine class 2018-01-22 00:51:11 +01:00
Makefile.in Update version to 3.1.2 2018-02-20 00:08:01 +01:00
makefile.unx Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
makefile.vc Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
popup_vc7.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
popup_vc8.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
popup_vc9.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
popup.bkl
popup.cpp Reimplement wxPopupWindow as a WS_POPUP window under MSW 2018-10-20 22:50:46 +02:00