-@interface wxNonControlNSControl : NSControl
-{
-}
-
-- (void)drawRect: (NSRect)rect;
-@end // wxNonControlNSControl
-
-@implementation wxNonControlNSControl : NSControl
-- (void)drawRect: (NSRect)rect
-{
- wxCocoaNSView *win = wxCocoaNSView::GetFromCocoa(self);
- if( !win || !win->Cocoa_drawRect(rect) )
- [super drawRect:rect];
-}
-@end // wxNonControlNSControl
-