]> 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 cb372c1e3b55a8891afb1a66f54e1dd89fc1c95c..31954e87c2a8c38b7e2488fa6784fc4c5f796dae 100644 (file)
@@ -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);
     }
 };