Cocoa callback check

This commit is contained in:
Jack Andersen 2015-12-01 17:06:14 -10:00
parent c34b93f00f
commit cd4df5cb27
1 changed files with 2 additions and 1 deletions

View File

@ -882,6 +882,7 @@ static boo::ESpecialKey translateKeycode(short code)
{
boo::SWindowRect rect = {{int(self.frame.origin.x), int(self.frame.origin.y)},
{int(self.frame.size.width), int(self.frame.size.height)}};
if (resp->booContext->m_callback)
resp->booContext->m_callback->resized(rect);
[super reshape];
}