OSDN Git Service
(root)
/
tortoisegit
/
TortoiseGitJp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42cd75f
)
RebaseDlg: Correct get Tabctrl position.
author
Frank Li
<lznuaa@gmail.com>
Sat, 21 Feb 2009 09:27:39 +0000
(17:27 +0800)
committer
Frank Li
<lznuaa@gmail.com>
Sat, 21 Feb 2009 09:27:39 +0000
(17:27 +0800)
Signed-off-by: Frank Li <lznuaa@gmail.com>
src/TortoiseProc/RebaseDlg.cpp
patch
|
blob
|
history
diff --git
a/src/TortoiseProc/RebaseDlg.cpp
b/src/TortoiseProc/RebaseDlg.cpp
index
4cdfcdf
..
02f205f
100644
(file)
--- a/
src/TortoiseProc/RebaseDlg.cpp
+++ b/
src/TortoiseProc/RebaseDlg.cpp
@@
-87,13
+87,8
@@
BOOL CRebaseDlg::OnInitDialog()
\r
CWnd *pwnd=this->GetDlgItem(IDC_REBASE_DUMY_TAB);
\r
pwnd->GetWindowRect(&rectDummy);
\r
+ this->ScreenToClient(rectDummy);
\r
\r
- rectDummy.top-=20;
\r
- rectDummy.bottom-=20;
\r
-
\r
- rectDummy.left-=5;
\r
- rectDummy.right-=5;
\r
-
\r
if (!m_ctrlTabCtrl.Create(CMFCTabCtrl::STYLE_FLAT, rectDummy, this, IDC_REBASE_TAB))
\r
{
\r
TRACE0("Failed to create output tab window\n");
\r