diff options
author | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-10-28 16:18:50 +0300 |
commit | cf9de21af3073e29cb7b149fbd8427241de70729 (patch) | |
tree | 2a0b17f49d14d4a51bc942f15bf3747509f0c3cf /plugins/MirandaG15/src/CConfig.cpp | |
parent | 3de431cc811a1fbf9cd0d520fe33b6163c73e919 (diff) |
- old useless helpers removed from the Options module;
- mir_app functions introduced instead of them;
- OPENOPTIONSDIALOG structure removed from m_options.h
Diffstat (limited to 'plugins/MirandaG15/src/CConfig.cpp')
-rw-r--r-- | plugins/MirandaG15/src/CConfig.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/MirandaG15/src/CConfig.cpp b/plugins/MirandaG15/src/CConfig.cpp index e5c6f687ca..87e3b43883 100644 --- a/plugins/MirandaG15/src/CConfig.cpp +++ b/plugins/MirandaG15/src/CConfig.cpp @@ -250,31 +250,31 @@ int CConfig::InitOptionsDialog(WPARAM wParam, LPARAM) OPTIONSDIALOGPAGE odp = { 0 };
odp.position = 847000000;
odp.hInstance = hInstance;
- odp.pszGroup = LPGEN("MirandaG15");
+ odp.szGroup.a = LPGEN("MirandaG15");
odp.flags = ODPF_BOLDGROUPS;
// ---------------------
odp.pszTemplate = MAKEINTRESOURCEA(IDD_FONTS);
- odp.pszTitle = LPGEN("Appearance");
- odp.pszGroup = LPGEN("MirandaG15");
+ odp.szTitle.a = LPGEN("Appearance");
+ odp.szGroup.a = LPGEN("MirandaG15");
odp.pfnDlgProc = CConfig::AppearanceDlgProc;
Options_AddPage(wParam, &odp);
// ---------------------
odp.pszTemplate = MAKEINTRESOURCEA(IDD_NOTIFICATIONS);
- odp.pszTitle = LPGEN("Notifications");
+ odp.szTitle.a = LPGEN("Notifications");
odp.pfnDlgProc = CConfig::NotificationsDlgProc;
Options_AddPage(wParam, &odp);
// ---------------------
odp.pszTemplate = MAKEINTRESOURCEA(IDD_CHAT);
- odp.pszTitle = LPGEN("Chat sessions");
+ odp.szTitle.a = LPGEN("Chat sessions");
odp.pfnDlgProc = CConfig::ChatDlgProc;
Options_AddPage(wParam, &odp);
// ---------------------
odp.pszTemplate = MAKEINTRESOURCEA(IDD_CLIST);
- odp.pszTitle = LPGEN("Contact list");
+ odp.szTitle.a = LPGEN("Contact list");
odp.pfnDlgProc = CConfig::ContactlistDlgProc;
Options_AddPage(wParam, &odp);
return 0;
|