From c2fa679c885cf49bed863220087bb33a0f8f5d7d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Apr 2015 22:39:07 +0000 Subject: fix for WhatsApp account manager window git-svn-id: http://svn.miranda-ng.org/main/trunk@12799 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/dialogs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/protocols/WhatsApp/src/dialogs.cpp b/protocols/WhatsApp/src/dialogs.cpp index ab5c37fa30..ca55809538 100644 --- a/protocols/WhatsApp/src/dialogs.cpp +++ b/protocols/WhatsApp/src/dialogs.cpp @@ -93,7 +93,8 @@ public: INT_PTR WhatsAppProto::SvcCreateAccMgrUI(WPARAM wParam, LPARAM lParam) { COptionsDlg *pDlg = new COptionsDlg(this, IDD_ACCMGRUI); - pDlg->Create(); + pDlg->SetParent((HWND)lParam); + pDlg->Show(); return (INT_PTR)pDlg->GetHwnd(); } -- cgit v1.2.3