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:
parent
e6d11dc00a
commit
8ef1f74818
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user