diff options
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);
|