aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/mac_cairo.m
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/mac_cairo.m')
-rw-r--r--pugl/detail/mac_cairo.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/pugl/detail/mac_cairo.m b/pugl/detail/mac_cairo.m
index b0a8db5..1f4452f 100644
--- a/pugl/detail/mac_cairo.m
+++ b/pugl/detail/mac_cairo.m
@@ -53,6 +53,12 @@
[wrapper dispatchConfigure:[self bounds]];
}
+- (void) drawRect:(NSRect)rect
+{
+ PuglWrapperView* wrapper = (PuglWrapperView*)[self superview];
+ [wrapper dispatchExpose:rect];
+}
+
@end
static int