From 8ef1f74818603370acc48dd05b98dee283922710 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 23 Jun 2014 01:08:31 +0000 Subject: [PATCH] Fix wxVector3f ctor in the propgrid sample. Even if this code is not used, it was still wrong as it didn't initialize the (shadowed) member variables, so fix it to actually do it. Closes #16342. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/propgrid/propgrid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/propgrid/propgrid.h b/samples/propgrid/propgrid.h index 7aa1ea1ab0..b017e0e5c2 100644 --- a/samples/propgrid/propgrid.h +++ b/samples/propgrid/propgrid.h @@ -51,8 +51,8 @@ public: x = y = z = 0.0; } wxVector3f( double x, double y, double z ) + : x(x), y(y), z(z) { - x = x; y = y; z = z; } double x, y, z;