[rkward-cvs] SF.net SVN: rkward:[2643] trunk/rkward/rkward/qwinhost/qwinhost.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Thu Sep 3 17:23:23 UTC 2009
Revision: 2643
http://rkward.svn.sourceforge.net/rkward/?rev=2643&view=rev
Author: tfry
Date: 2009-09-03 17:23:22 +0000 (Thu, 03 Sep 2009)
Log Message:
-----------
This version is compatible with both MinGW GCC 3 and 4
Modified Paths:
--------------
trunk/rkward/rkward/qwinhost/qwinhost.cpp
Modified: trunk/rkward/rkward/qwinhost/qwinhost.cpp
===================================================================
--- trunk/rkward/rkward/qwinhost/qwinhost.cpp 2009-09-03 14:24:19 UTC (rev 2642)
+++ trunk/rkward/rkward/qwinhost/qwinhost.cpp 2009-09-03 17:23:22 UTC (rev 2643)
@@ -290,7 +290,11 @@
if (!hwnd) return QString();
WCHAR buffer[256];
+ QT_WA({
::GetWindowText(hwnd, buffer, 255);
+ }, {
+ ::GetWindowTextA(hwnd, (char*) buffer, 255);
+ })
return (QString((char*) buffer));
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list