Menu

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

Switch to side-by-side view

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