ofxGuiContainer::~ofxGuiContainer() { ofRemoveListener(resize, this, &ofxGuiContainer::onResize); ofRemoveListener(childAdded, this, &ofxGuiContainer::onChildAdded); ofRemoveListener(addedTo, this, &ofxGuiContainer::onParentAdded); unregisterMouseEvents(); }
ofxPanel::~ofxPanel(){ unregisterMouseEvents(); }
BaseJoint::~BaseJoint() { unregisterMouseEvents(); }
void ProjectionEditor::disable() { unregisterAppEvents(); unregisterMouseEvents(); unregisterKeyEvents(); }
SurfaceManagerGui::~SurfaceManagerGui() { unregisterMouseEvents(); surfaceManager = NULL; _cmdManager = 0; }