wxWidgets/samples/mfc
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
..
makefile.vc Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
mfc_vc7.vcproj Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
mfc_vc8.vcproj Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
mfc_vc9.vcproj Convert really all CRLF files to use LF in the git repository. 2015-03-19 21:09:08 +01:00
mfc.bkl add headers to the samples' bakefiles so that they show up in MSVC project files 2009-03-04 11:47:32 +00:00
mfctest.cpp Fix destruction of wxNativeContainerWindow in wxMSW. 2015-07-09 20:49:05 +02:00
mfctest.h Fix destruction of wxNativeContainerWindow in wxMSW. 2015-07-09 20:49:05 +02:00
mfctest.ico Replaced icon 2005-05-19 17:01:43 +00:00
mfctest.rc now MSW stuff is complete 1998-05-20 14:21:00 +00:00
resource.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
stdafx.h define _AFXDLL to ensure that MFC libraries are linked in 2006-11-01 21:38:42 +00:00