summaryrefslogtreecommitdiff
path: root/src/Fl_Window_shape.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Window_shape.cxx')
-rw-r--r--src/Fl_Window_shape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Window_shape.cxx b/src/Fl_Window_shape.cxx
index 5dee92238..e02131429 100644
--- a/src/Fl_Window_shape.cxx
+++ b/src/Fl_Window_shape.cxx
@@ -343,7 +343,7 @@ void Fl_Window::shape(const Fl_Image* img) {
void Fl_Window::draw() {
#if defined(__APPLE__)
- CGContextRef gc = (CGContextRef)Fl_Display_Device::display_device()->driver()->get_gc();
+ CGContextRef gc = (CGContextRef)Fl_Display_Device::display_device()->driver()->gc();
#endif
if (shape_data_) {
# if defined(__APPLE__) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4