summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-15 15:36:10 +0000
committerManolo Gouy <Manolo>2016-04-15 15:36:10 +0000
commit2fcb4f419217eb2895ad0e52b15aab252eb827ef (patch)
tree20d7a4148e4454df0cfd9389afd6e57565291781 /src/Fl_win32.cxx
parent15715cd89856140e70dfcdaf97b70d8f06d96e2b (diff)
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
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx6
1 files changed, 3 insertions, 3 deletions
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) {