[Mono-osx] PermFormSelectOnMainThread patch for monomac

Lee V. Andrus landrus2 at by-rite.net
Mon May 23 18:17:01 EDT 2011

Most wrapper methods in MonoMac assume or require that all class parameters
are not null--including many for which null is an acceptable (and sometimes
necessary) value.

Maxi Combina wrote:
> ...
> My selector does not take argument, so I use null as argument...
> and InvokeOnMainThread() fails. If I change
> monomac/src/Foundation/NSObject.cs:InvokeOnMainThread() to check for null,
> it works.
> So: could this small change be added? Or is it mandatory to pass a
> non-null
> paramter to InvokeOnMainThread()?
> ...

View this message in context: http://mono.1490590.n4.nabble.com/PermFormSelectOnMainThread-patch-for-monomac-tp3543684p3545677.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list