summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-13 14:44:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-13 14:44:28 +0300
commit9f61e31b9ccdfe93b693998cab1baa331f87cd97 (patch)
treee48c97d10a90ef4a544bd84ccb5fd6cae6603e4a /src/mir_app
parentb217f24e496c98b4f7af416ca61e67571fb6b2bf (diff)
two new functions: CDlgBase::Resize & Hide
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/netlibopts.cpp4
-rw-r--r--src/mir_app/src/options.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mir_app/src/netlibopts.cpp b/src/mir_app/src/netlibopts.cpp
index 3a37e0b295..f079b19fd3 100644
--- a/src/mir_app/src/netlibopts.cpp
+++ b/src/mir_app/src/netlibopts.cpp
@@ -304,7 +304,7 @@ static INT_PTR CALLBACK DlgProcNetlibOpts(HWND hwndDlg, UINT msg, WPARAM wParam,
CopySettingsStruct(&settings, &tempSettings[iUser]->settings);
flags = tempSettings[iUser]->flags;
}
- ShowMultipleControls(hwndDlg, outgoingConnectionsControls, _countof(outgoingConnectionsControls), flags&NUF_OUTGOING ? SW_SHOW : SW_HIDE);
+ ShowMultipleControls(hwndDlg, outgoingConnectionsControls, _countof(outgoingConnectionsControls), flags & NUF_OUTGOING ? SW_SHOW : SW_HIDE);
CheckDlgButton(hwndDlg, IDC_USEPROXY, settings.useProxy);
SendDlgItemMessage(hwndDlg, IDC_PROXYTYPE, CB_RESETCONTENT, 0, 0);
if (settings.proxyType == 0) AddProxyTypeItem(hwndDlg, 0, settings.proxyType);
@@ -323,7 +323,7 @@ static INT_PTR CALLBACK DlgProcNetlibOpts(HWND hwndDlg, UINT msg, WPARAM wParam,
CheckDlgButton(hwndDlg, IDC_PROXYDNS, settings.dnsThroughProxy);
CheckDlgButton(hwndDlg, IDC_VALIDATESSL, settings.validateSSL);
- ShowMultipleControls(hwndDlg, incomingConnectionsControls, _countof(incomingConnectionsControls), flags&NUF_INCOMING ? SW_SHOW : SW_HIDE);
+ ShowMultipleControls(hwndDlg, incomingConnectionsControls, _countof(incomingConnectionsControls), flags & NUF_INCOMING ? SW_SHOW : SW_HIDE);
CheckDlgButton(hwndDlg, IDC_SPECIFYPORTS, settings.specifyIncomingPorts);
SetDlgItemTextA(hwndDlg, IDC_PORTSRANGE, settings.szIncomingPorts ? settings.szIncomingPorts : "");
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp
index 1e918e3dde..3faa2c9e46 100644
--- a/src/mir_app/src/options.cpp
+++ b/src/mir_app/src/options.cpp
@@ -883,7 +883,7 @@ public:
m_hCurrentPage = p->hTreeItem;
m_pageTree.SelectItem(m_hCurrentPage);
if (opd)
- opd->pDialog->Show(SW_HIDE);
+ opd->pDialog->Hide();
m_currentPage = i;
if (opd)
opd->pDialog->Show();