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
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
mfctest.rc
resource.h
stdafx.h