Re: [racket-users] Target is not an object, target #f for get-client-size

2016-09-15 Thread Matthew Flatt
Can you send me a program to run and remind me which platform you're using? This must be a bug at some level below your code, because `this` should never be `#f`. I expect that the problem is in the binding to the native GUI library, where it's incorrectly allowing a callback too early. At Thu, 1

[racket-users] Target is not an object, target #f for get-client-size

2016-09-15 Thread Erich Rast
I have a subclass of list-box% which overrides on-size and calculates relative column sizes based on get-client-size and some values provided by an init variable. However, if I don't check for "this" being an object, I get: send: target is not an object target: #f method name: get-client-size