diff options
Diffstat (limited to 'tools/dbtool/langpack.cpp')
-rw-r--r-- | tools/dbtool/langpack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/dbtool/langpack.cpp b/tools/dbtool/langpack.cpp index 85df5cdf22..97d24cadf4 100644 --- a/tools/dbtool/langpack.cpp +++ b/tools/dbtool/langpack.cpp @@ -342,7 +342,7 @@ static BOOL CALLBACK TranslateDialogEnumProc(HWND hwnd,LPARAM lParam) if(!lstrcmpi(szClass,_T("static")) || !lstrcmpi(szClass,_T("hyperlink")) || !lstrcmpi(szClass,_T("button")) || !lstrcmpi(szClass,_T("MButtonClass")))
TranslateWindow(hwnd);
else if(!lstrcmpi(szClass,_T("edit"))) {
- if ( GetWindowLong(hwnd,GWL_STYLE)&ES_READONLY)
+ if ( GetWindowLongPtr(hwnd,GWL_STYLE)&ES_READONLY)
TranslateWindow(hwnd);
}
return TRUE;
|