]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
With wxTE_PROCESS_TAB, tabs are now inserted in the text control
[wxWidgets.git] / include / wx / msw / private.h
index 1bd4f43c81fb864a5ae7b04ad4b7557c0e94a2f4..31954e87c2a8c38b7e2488fa6784fc4c5f796dae 100644 (file)
@@ -8,7 +8,7 @@
 // Created:     01/02/97
 // RCS-ID:      $Id$
 // Copyright:   (c) Julian Smart
-// Licence:     wxWidgets licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_PRIVATE_H_
@@ -325,7 +325,9 @@ struct WinStruct : public T
     WinStruct()
     {
         ::ZeroMemory(this, sizeof(T));
-        cbSize = sizeof(T);
+
+        // explicit qualification is required here for this to be valid C++
+        this->cbSize = sizeof(T);
     }
 };