diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-04-13 15:12:46 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-04-13 15:12:46 +0000 |
commit | 124f58006ce473de9dc391c7ced1f12875df080f (patch) | |
tree | 106c4bcd3774c84b20b42c63559b2dc588a50dec /protocols/SkypeWeb/src/skype_options.cpp | |
parent | 6d0076208df04f1d161220beb7cd9155330dead9 (diff) |
dialog fix for SkypeWeb & Tox
git-svn-id: http://svn.miranda-ng.org/main/trunk@12788 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_options.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_options.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/protocols/SkypeWeb/src/skype_options.cpp b/protocols/SkypeWeb/src/skype_options.cpp index 82f12ae358..d7e0396113 100644 --- a/protocols/SkypeWeb/src/skype_options.cpp +++ b/protocols/SkypeWeb/src/skype_options.cpp @@ -17,8 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "common.h"
-CSkypeOptionsMain::CSkypeOptionsMain(CSkypeProto *proto, int idDialog, HWND hwndParent)
- : CSkypeDlgBase(proto, idDialog, hwndParent, false),
+CSkypeOptionsMain::CSkypeOptionsMain(CSkypeProto *proto, int idDialog)
+ : CSkypeDlgBase(proto, idDialog, false),
m_skypename(this, IDC_SKYPENAME),
m_password(this, IDC_PASSWORD),
m_group(this, IDC_GROUP),
@@ -59,15 +59,11 @@ int CSkypeProto::OnOptionsInit(WPARAM wParam, LPARAM) OPTIONSDIALOGPAGE odp = { sizeof(odp) };
odp.hInstance = g_hInstance;
odp.pszTitle = title;
- odp.flags = ODPF_BOLDGROUPS | ODPF_DONTTRANSLATE;
+ odp.flags = ODPF_BOLDGROUPS | ODPF_TCHAR;
odp.pszGroup = LPGEN("Network");
odp.pszTab = LPGEN("Account");
- odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS_MAIN);
- odp.pfnDlgProc = CSkypeOptionsMain::DynamicDlgProc;
- odp.dwInitParam = (LPARAM)&SkypeMainOptionsParam;
- SkypeMainOptionsParam.create = CSkypeOptionsMain::CreateOptionsPage;
- SkypeMainOptionsParam.param = this;
+ odp.pDialog = CSkypeOptionsMain::CreateOptionsPage(this);
Options_AddPage(wParam, &odp);
mir_free(title);
|