From a7d174bf49e4081bd974d263384efb6852ae42ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 31 May 2004 21:50:16 +0000 Subject: [PATCH] compilation fix for gcc-3.4 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/msw/private.h b/include/wx/msw/private.h index cb372c1e3b..46d14af631 100644 --- a/include/wx/msw/private.h +++ b/include/wx/msw/private.h @@ -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); } }; -- 2.50.0