[Mono-osx] AdjustScroll override issues on NSOutlineView

mateyboy john.tear at me.com
Mon Oct 10 05:46:45 EDT 2011


I have created a sub class of NSOutlineView and I am trying to override

public override RectangleF AdjustScroll (RectangleF newVisible)
	// simply an example...
	return newVisible;

When I scroll the view it crashes with:


  at (wrapper managed-to-native)
MonoMac.AppKit.NSApplication.NSApplicationMain (int,string[]) <IL 0x0009d,
  at MonoMac.AppKit.NSApplication.Main (string[]) [0x00000] in
  at SubnetSharp.MainClass.Main (string[]) [0x00005] in
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object
(object,intptr,intptr,intptr) <IL 0x00050, 0xffffffff>

Native stacktrace:

	0   SubnetSharp                         0x000b98e6
mono_handle_native_sigsegv + 422
	1   SubnetSharp                         0x000048fe
mono_sigsegv_signal_handler + 334
	2   libsystem_c.dylib                   0x9153759b _sigtramp + 43
	3   ???                                      0xffffffff 0x0 + 4294967295

Any ideas?

I have also tried:

public RectangleF adjustScroll (RectangleF newVisible)...

Thanks in advance.

View this message in context: http://mono.1490590.n4.nabble.com/AdjustScroll-override-issues-on-NSOutlineView-tp3889690p3889690.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list