wxWidgets/samples
Vadim Zeitlin 9be928d6fb Fix destruction of wxNativeContainerWindow in wxMSW.
WM_CLOSE was not processed at all for native windows wrapped by
wxNativeContainerWindow because we don't handle it ourselves at wxWindow level
but still mark it as processed in order to prevent DefWindowProc() from
destroying the window. Unfortunately this also prevented the original handler
for this message in the native window from being called.

Calling just the original handler and not the wxWidgets one is not ideal
neither but is much better as it allows to e.g. close MFC frames wrapped in
wxNativeContainerWindow whereas before this didn't work at all as WM_CLOSE was
completely ignored.

Also call the original handler for WM_DESTROY to avoid similar potential
problems with this message, even if it doesn't seem to create any with MFC.

Extend the mfc sample to show how a wxPanel can be embedded into the existing
CFrameWnd.
2015-07-09 20:49:05 +02:00
..
access Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
animate Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
artprov Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
aui Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
calendar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
caret Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
clipboard Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
collpane Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
combo Fix invalid use of wxSizer flags in samples and utils. 2015-04-25 21:26:40 +04:00
config Fix typo in a comment in the previous commit. 2015-06-17 15:16:52 +02:00
console Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
controls Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dataview Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
debugrpt Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dialogs Fix invalid use of wxSizer flags in samples and utils. 2015-04-25 21:26:40 +04:00
dialup Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
display Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dll Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
dnd Reduce height of frame in DND sample 2015-05-27 18:13:24 +04:00
docview Update outdated year references to 2015. 2015-04-30 16:11:30 +04:00
dragimag Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
drawing Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
erase Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
event Fixed wxAppConsole spelling in the comments. 2015-06-03 17:14:09 +03:00
except Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
exec Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
flash Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
font Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
fswatcher Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
grid Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
help Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
htlbox Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
html Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
image Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
internat Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
ipc Fix invalid use of wxSizer flags in samples and utils. 2015-04-25 21:26:40 +04:00
joytest Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
keyboard Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
layout Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
listctrl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mdi Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mediaplayer Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
memcheck Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
menu Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mfc Fix destruction of wxNativeContainerWindow in wxMSW. 2015-07-09 20:49:05 +02:00
minimal Remove WXWIN_OS_DESCRIPTION. 2015-05-22 02:29:49 +02:00
nativdlg Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
notebook Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
oleauto Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
opengl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
ownerdrw Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
popup Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
power Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
preferences Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
printing Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
propgrid Fix propgrid sample compilation. 2015-07-02 17:07:32 +02:00
regtest Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
render Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
ribbon Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
richtext Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
sashtest Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
scroll Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
shaped Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
sockets Use blocking sockets from non-main threads in wxProtocol. 2015-07-05 16:45:07 +02:00
sound Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
splash Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
splitter Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
statbar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
stc Fixed more typos in the STC sample. 2015-06-08 01:16:51 +02:00
svg Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
taborder Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
taskbar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
taskbarbutton Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
text Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
thread Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
toolbar Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
treectrl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
treelist Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
typetest Removed memory leak in the typetest sample. 2015-06-22 13:36:31 +02:00
uiaction Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
validate Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
vscroll Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
webview Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
widgets Allow testing hiding the widget in the widgets sample. 2015-07-04 00:21:47 +02:00
wizard Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
wrapsizer Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
xrc Fix some typos, no code changes (besides strings) 2015-06-05 02:54:46 +04:00
xti Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
Info.plist Update outdated year references to 2015. 2015-04-30 16:11:30 +04:00
makefile.bcc Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
makefile.gcc Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
Makefile.in Add distclean target to samples/Makefile. 2012-11-01 17:14:59 +00:00
makefile.vc Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
sample_os2.ico
sample.ico
sample.r
sample.rc Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sample.rc4
sample.rcO
sample.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
samples.bkl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00