Menu

Diff of /trunk/src/BaseDialog.cpp [r121] .. [r122]  Maximize  Restore

Switch to side-by-side view

--- a/trunk/src/BaseDialog.cpp
+++ b/trunk/src/BaseDialog.cpp
@@ -6,6 +6,12 @@
 {
 	hResource = hInstance;
 	return DialogBoxParam(hInstance, MAKEINTRESOURCE(resID), hWndParent, &CDialog::stDlgFunc, (LPARAM)this);
+}
+
+HWND CDialog::Create(HINSTANCE hInstance, int resID, HWND hWndParent)
+{
+    m_hwnd = CreateDialogParam(hInstance, MAKEINTRESOURCE(resID), hWndParent, &CDialog::stDlgFunc, (LPARAM)this);
+    return m_hwnd;
 }
 
 void CDialog::InitDialog(HWND hwndDlg, UINT iconID)