compilation fix for gcc-3.4

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-05-31 21:50:16 +00:00
parent 44db04e4b2
commit a7d174bf49

View 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);
}
};