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
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user