[Mono-osx] [MonoMac] Forget to call super?

kjpou kjpou at pt.lu
Sat Jan 15 02:59:53 EST 2011


Hello everyone

Whenever the NSView's initWithFrame method is called the following 
message is displayed:

2011-01-15 08:52:21.960 KeyFrameMoveAView[8246:613] 
KeyFrameView(0x613180) - NSView not correctly initialized. Did you 
forget to call super?

Here is the definition:

         [Export("initWithFrame:")]
         public KeyFrameView(RectangleF frame) : base(frame)
         {
             // your code here
         }

All the programs work without a problem but still get this message.  
Also noticed it brought up on IRC as well.

Is the definition not correct or should we be using a different method?

There is another one that gives the same message but can not remember 
the name right now.

Kenneth


More information about the Mono-osx mailing list