diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-05 19:04:06 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-05 19:04:06 +0100 |
commit | 5e61c1280c15ab9969b94cd360cafd4a11b2dd30 (patch) | |
tree | 1fdb60d771c4351b5aa5dcf1a43376c0558625a4 /src/T2OpenFileDialog.cpp | |
parent | c2efba6907fab934a04959b9bb644cf7141cc955 (diff) | |
download | t2win-5e61c1280c15ab9969b94cd360cafd4a11b2dd30.tar.gz t2win-5e61c1280c15ab9969b94cd360cafd4a11b2dd30.zip |
matched T2.exe
Diffstat (limited to '')
-rw-r--r-- | src/T2OpenFileDialog.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/T2OpenFileDialog.cpp b/src/T2OpenFileDialog.cpp index 4fef5f2..5aa86f8 100644 --- a/src/T2OpenFileDialog.cpp +++ b/src/T2OpenFileDialog.cpp @@ -1,2 +1,30 @@ #include "T2OpenFileDialog.h" +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +IMPLEMENT_DYNAMIC(T2OpenFileDialog, CFileDialog) + +T2OpenFileDialog::T2OpenFileDialog(BOOL bOpenFileDialog, const CHAR *lpszDefExt, const CHAR *lpszFileName, + DWORD dwFlags, const CHAR *lpszFilter, CWnd *pParentWnd) + : CFileDialog(bOpenFileDialog, lpszDefExt, lpszFileName, dwFlags, lpszFilter, pParentWnd) +{ +} + +BEGIN_MESSAGE_MAP(T2OpenFileDialog, CCommonDialog) + ON_WM_CLOSE() +END_MESSAGE_MAP() + +/*virtual*/ BOOL T2OpenFileDialog::OnInitDialog() { + return true; +} + +/*virtual*/ void T2OpenFileDialog::OnFileNameChange() { +} + +void T2OpenFileDialog::OnClose() { + CWnd::OnClose(); +} |