]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for gcc-3.4
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 31 May 2004 21:50:16 +0000 (21:50 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 31 May 2004 21:50:16 +0000 (21:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/private.h

index cb372c1e3b55a8891afb1a66f54e1dd89fc1c95c..46d14af63124a7b3afda140bc9fb416a73d2de47 100644 (file)
@@ -325,7 +325,8 @@ struct WinStruct : public T
     WinStruct()
     {
         ::ZeroMemory(this, sizeof(T));
-        cbSize = sizeof(T);
+        // NB: gcc-3.4 would give syntax error without "this->"
+        this->cbSize = sizeof(T);
     }
 };