summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-15 20:36:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-15 20:36:04 +0000
commit488a36ac6ae6d7f10db977550b38ac0dd0187a0f (patch)
treeefb630bc3c1d530c0f05789adb28ce818408d999 /src
parentaeec5c9058701810adecc6cd2220ca1dc3b71417 (diff)
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12848 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_core/src/ui_utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mir_core/src/ui_utils.cpp b/src/mir_core/src/ui_utils.cpp
index 4f574896f8..3411ada948 100644
--- a/src/mir_core/src/ui_utils.cpp
+++ b/src/mir_core/src/ui_utils.cpp
@@ -51,18 +51,18 @@ CDlgBase::~CDlgBase()
void CDlgBase::Create()
{
- ShowWindow(CreateDialogParam(m_hInst, MAKEINTRESOURCE(m_idDialog), m_hwndParent, GlobalDlgProc, (LPARAM)(CDlgBase *)this), SW_HIDE);
+ ShowWindow(CreateDialogParam(m_hInst, MAKEINTRESOURCE(m_idDialog), m_hwndParent, GlobalDlgProc, (LPARAM)this), SW_HIDE);
}
void CDlgBase::Show(int nCmdShow)
{
- ShowWindow(CreateDialogParam(m_hInst, MAKEINTRESOURCE(m_idDialog), m_hwndParent, GlobalDlgProc, (LPARAM)(CDlgBase *)this), nCmdShow);
+ ShowWindow(CreateDialogParam(m_hInst, MAKEINTRESOURCE(m_idDialog), m_hwndParent, GlobalDlgProc, (LPARAM)this), nCmdShow);
}
int CDlgBase::DoModal()
{
m_isModal = true;
- return DialogBoxParam(m_hInst, MAKEINTRESOURCE(m_idDialog), m_hwndParent, GlobalDlgProc, (LPARAM)(CDlgBase *)this);
+ return DialogBoxParam(m_hInst, MAKEINTRESOURCE(m_idDialog), m_hwndParent, GlobalDlgProc, (LPARAM)this);
}
int CDlgBase::Resizer(UTILRESIZECONTROL*)