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.

See #16342.
This commit is contained in:
Vadim Zeitlin
2014-06-23 01:08:31 +00:00
parent 95d8daae1a
commit fa44ff601e

View File

@@ -51,8 +51,8 @@ public:
x = y = z = 0.0; x = y = z = 0.0;
} }
wxVector3f( double x, double y, double z ) wxVector3f( double x, double y, double z )
: x(x), y(y), z(z)
{ {
x = x; y = y; z = z;
} }
double x, y, z; double x, y, z;