APaned.addOnSizeAllocate((Allocation, Widget)

  {
	int x = 3;
	return;
  });

It is constantly being called even if the widget does not change. I.e., a BP will constantly be hit without ever changing anything.

I would expect this to only be called on a resize?