Keep getting access violation exceptions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "Property.h"
|
||||
|
||||
Property::Property(PROPGRIDITEM item, void(*onPropUpdate)(PROPGRIDITEM))
|
||||
Property::Property(PROPGRIDITEM * item, void(*onPropUpdate)(PROPGRIDITEM))
|
||||
{
|
||||
this->callbackFuncOnChange = onPropUpdate;
|
||||
this->item = item;
|
||||
@@ -8,6 +8,7 @@ Property::Property(PROPGRIDITEM item, void(*onPropUpdate)(PROPGRIDITEM))
|
||||
|
||||
Property::~Property(void)
|
||||
{
|
||||
delete item;
|
||||
}
|
||||
|
||||
void Property::updateProperty(PROPGRIDITEM item)
|
||||
|
||||
Reference in New Issue
Block a user