X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7e98dee7eb8747ddd0b912600bcad1191818733..bcd96979730f8bb56ac220f9092439694d4e0456:/include/wx/cocoa/NSView.h?ds=sidebyside diff --git a/include/wx/cocoa/NSView.h b/include/wx/cocoa/NSView.h index 50a583c5d2..7fdaba8c3a 100644 --- a/include/wx/cocoa/NSView.h +++ b/include/wx/cocoa/NSView.h @@ -32,6 +32,8 @@ public: virtual wxWindow* GetWxWindow() const { return NULL; } virtual void Cocoa_FrameChanged(void) = 0; + virtual bool Cocoa_acceptsFirstMouse(bool &acceptsFirstMouse, WX_NSEvent theEvent) + { return false; } virtual bool Cocoa_drawRect(const NSRect &rect) { return false; } virtual bool Cocoa_mouseDown(WX_NSEvent theEvent) @@ -60,6 +62,7 @@ public: { return false; } virtual bool Cocoa_resetCursorRects() { return false; } + virtual ~wxCocoaNSView() { } }; #endif // _WX_COCOA_NSVIEW_H_