From 2fcb4f419217eb2895ad0e52b15aab252eb827ef Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 15 Apr 2016 15:36:10 +0000 Subject: Move platform-dependent implementations of fl_open/close_display() to the Fl_Screen_Driver class git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_win32.cxx') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index b37f0994f..97e22e021 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -515,7 +515,7 @@ int fl_ready() { return get_wsock_mod() ? s_wsock_select(0,&fdt[0],&fdt[1],&fdt[2],&t) : 0; } -void fl_open_display() { +void Fl_WinAPI_Screen_Driver::open_display() { static char beenHereDoneThat = 0; if (beenHereDoneThat) @@ -549,7 +549,7 @@ static Fl_Win32_At_Exit win32_at_exit; static char im_enabled = 1; void Fl_WinAPI_Screen_Driver::enable_im() { - fl_open_display(); + open_display(); Fl_X* i = Fl_X::first; while (i) { @@ -561,7 +561,7 @@ void Fl_WinAPI_Screen_Driver::enable_im() { } void Fl_WinAPI_Screen_Driver::disable_im() { - fl_open_display(); + open_display(); Fl_X* i = Fl_X::first; while (i) { -- cgit v1.2.3