OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980484d
)
CSortHeaderCtrl: Replace GetDllVersion() by SendMessage(CCM_GETVERSION), which works...
author
Jochen Tucht
<jtuc@users.sourceforge.net>
Sun, 13 Jun 2010 12:18:30 +0000
(12:18 +0000)
committer
Jochen Tucht
<jtuc@users.sourceforge.net>
Sun, 13 Jun 2010 12:18:30 +0000
(12:18 +0000)
As this removes the last reference to GetDllVersion(), we are now ready to drop dllver.cpp/.h.
Src/Common/SortHeaderCtrl.cpp
patch
|
blob
|
history
diff --git
a/Src/Common/SortHeaderCtrl.cpp
b/Src/Common/SortHeaderCtrl.cpp
index
5e23208
..
1758e4c
100644
(file)
--- a/
Src/Common/SortHeaderCtrl.cpp
+++ b/
Src/Common/SortHeaderCtrl.cpp
@@
-9,7
+9,6
@@
#include "StdAfx.h"
#include "SortHeaderCtrl.h"
-#include "dllver.h"
#ifndef HDF_SORTUP
#define HDF_SORTUP 0x0400
@@
-60,7
+59,7
@@
int CSortHeaderCtrl::SetSortImage(int nCol, BOOL bAsc)
}
GetItem( nCol, &hditem );
- if (
GetDllVersion(_T("comctl32.dll")) >= PACKVERSION(6,00)
)
+ if (
SendMessage(CCM_GETVERSION) >= 6
)
{
// We can use HDF_SORTUP and HDF_SORTDOWN flag to draw a sort arrow on the header.
hditem.fmt &= ~(HDF_SORTUP | HDF_SORTDOWN);