summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/gdi/salgdiutils.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/source/gdi/salgdiutils.cxx')
-rw-r--r--vcl/aqua/source/gdi/salgdiutils.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/aqua/source/gdi/salgdiutils.cxx b/vcl/aqua/source/gdi/salgdiutils.cxx
index 7032fcda1c20..a2cc9a002bd8 100644
--- a/vcl/aqua/source/gdi/salgdiutils.cxx
+++ b/vcl/aqua/source/gdi/salgdiutils.cxx
@@ -234,6 +234,14 @@ bool AquaSalGraphics::CheckContext()
return (mrContext != NULL);
}
+CGContextRef AquaSalGraphics::GetContext()
+{
+ if(!mrContext)
+ {
+ CheckContext();
+ }
+ return mrContext;
+}
void AquaSalGraphics::RefreshRect(float lX, float lY, float lWidth, float lHeight)
{