summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-19 12:40:24 +0000
committerManolo Gouy <Manolo>2016-02-19 12:40:24 +0000
commit1b5e231c902ab198c577989db44946797ebd4893 (patch)
tree211751e0eceda308df4e51d94511362f5e0b55f6 /src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
parent6d766cc6814a9e7a04c0b147c7a3cbdc0817dfd4 (diff)
Rename Fl_Graphics_Driver::set_gc(void*) to gc(void*) and Fl_Graphics_Driver::get_gc() to gc().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx')
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
index cc0df0957..bc642fdde 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
@@ -59,7 +59,7 @@ int Fl_WinAPI_Screen_Driver::visual(int flags)
{
fl_GetDC(0);
if (flags & FL_DOUBLE) return 0;
- HDC gc = (HDC)Fl_Display_Device::display_device()->driver()->get_gc();
+ HDC gc = (HDC)Fl_Display_Device::display_device()->driver()->gc();
if (!(flags & FL_INDEX) &&
GetDeviceCaps(gc,BITSPIXEL) <= 8) return 0;
if ((flags & FL_RGB8) && GetDeviceCaps(gc,BITSPIXEL)<24) return 0;