Keep getting access violation exceptions

This commit is contained in:
andreja6
2018-10-22 22:01:46 -07:00
parent c71dcb8a91
commit 268a0cd2ee
5 changed files with 16 additions and 14 deletions

View File

@@ -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)