From 2840393bf5378c012577c4764dc4cbd162f85d4e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Jun 2012 21:02:06 +0000 Subject: GetWindowLong -> GetWindowLongPtr git-svn-id: http://svn.miranda-ng.org/main/trunk@364 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- tools/dbtool/langpack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/dbtool/langpack.cpp') 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; -- cgit v1.2.3