]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSView.h
Applied [ 716064 ] Second part of wxFileCtrl & wxDirCtrl patch
[wxWidgets.git] / include / wx / cocoa / NSView.h
index 10a172fa81fbeb64a3e71edb991c632ba00b01d9..3fc6c7904f2d49987123e55e7b107b984fbd0cfc 100644 (file)
@@ -15,6 +15,8 @@
 #include "wx/hashmap.h"
 #include "wx/cocoa/ObjcPose.h"
 
+typedef struct _NSRect NSRect;
+
 WX_DECLARE_OBJC_HASHMAP(NSView);
 class wxCocoaNSView
 {
@@ -27,6 +29,7 @@ protected:
     static void *sm_cocoaObserver;
 public:
     virtual void Cocoa_FrameChanged(void) = 0;
+    virtual bool Cocoa_drawRect(const NSRect &rect) = 0;
 };
 
 #endif // _WX_COCOA_NSVIEW_H_