]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
compilation fix for gcc-3.4
[wxWidgets.git] / 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);
     }
 };