rezaali/ofxUI — pull request #20 by camilosw (2012-05-23 21:58:59+00:00)
Title: Compatibility with OF 007 and OF 0071

On the last commit, you changed ofEvents to ofEvents() and break compatibility with OF 007. I added a version verification.

```c++
#if OF_VERSION >= 7 && OF_VERSION_MINUS > 0
ofAddListener(ofEvents().windowResized, this, &ofxUICanvas::onWindowResized);
#else
ofAddListener(ofEvents.windowResized, this, &ofxUICanvas::onWindowResized);
#endif
```