wxWidgets/samples
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
..
access Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
animate Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
archive Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
artprov Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
aui Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
calendar Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
caret Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
clipboard Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
collpane Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
combo Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
config Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
console Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
dataview Set the column for wxEVT_DATAVIEW_ITEM_ACTIVATED in wxGTK 2018-10-09 15:21:08 +02:00
debugrpt Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
dialogs Remove remnants of OS/2 from build system 2018-09-30 17:23:57 +02:00
dialup Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
display Add wxDisplay::GetPPI() to use instead of wxGetDisplayPPI() 2018-10-08 13:04:38 +02:00
dll Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
dnd Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
docview Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
dragimag Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
drawing Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
erase Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
event Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
except Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
exec Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
flash Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
font Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
fswatcher Merge branch 'font-fixes' 2018-09-17 22:58:56 +02:00
grid Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
help Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
htlbox Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
html Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
image Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
internat Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
ipc Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
joytest Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
keyboard Merge branch 'font-fixes' 2018-09-17 22:58:56 +02:00
layout Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
listctrl Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
mdi Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
mediaplayer Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
memcheck Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
menu Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
mfc Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
minimal fixing iOS builds with new SKDs 2018-09-22 17:30:37 +02:00
nativdlg Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
notebook Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
oleauto Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
opengl Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
ownerdrw Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
popup Reimplement wxPopupWindow as a WS_POPUP window under MSW 2018-10-20 22:50:46 +02:00
power Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
preferences Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
printing Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
propgrid Refresh wxPropertGrid after resetting the status 2018-10-13 23:33:27 +02:00
regtest Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
render Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
ribbon Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
richtext Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
sashtest Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
scroll Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
secretstore Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
shaped Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
sockets Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
sound Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
splash Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
splitter Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
statbar Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
stc Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
svg Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
taborder Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
taskbar Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
taskbarbutton Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
text Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
thread Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
toolbar Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
treectrl Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
treelist Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
typetest Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
uiaction Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
validate Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
vscroll Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
webview Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
widgets Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
wizard Remove (most) occurrences of wxT() macro from the samples 2018-09-23 01:15:08 +02:00
wrapsizer Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
xrc Remove all wxS() macros from samples 2018-10-01 13:55:42 +02:00
xti Remove more wxT() macros from samples 2018-09-29 17:16:12 +02:00
Info.plist.in Set NSPrincipalClass to wxNSApplcation for CMake builds too 2018-05-02 15:53:09 +02:00
makefile.bcc Add archive sample 2018-02-20 14:39:27 +01:00
makefile.gcc Add archive sample 2018-02-20 14:39:27 +01:00
Makefile.in Build samples in parallel with "make -jN" 2017-08-15 19:16:27 +02:00
makefile.vc Add archive sample 2018-02-20 14:39:27 +01:00
sample.ico added common (for all samples) .ico/.r/.rc files 2003-08-06 12:27:23 +00:00
sample.rc Remove obsolete symbols from the samples 2015-12-03 22:11:04 +01:00
sample.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
samples.bkl Add archive sample 2018-02-20 14:39:27 +01:00