From: Václav Slavík Date: Mon, 31 May 2004 21:50:16 +0000 (+0000) Subject: compilation fix for gcc-3.4 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a7d174bf49e4081bd974d263384efb6852ae42ac?ds=sidebyside compilation fix for gcc-3.4 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); } };