From cb95d4006797a595cbdafd4f9255f76120aaeb47 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 18 Apr 2016 12:48:40 +0000 Subject: Remove Fl_X::setwindow(Fl_Window*) from WIN32 and USE_X11 Fl_X classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11649 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_win32.cxx | 2 +- src/Fl_x.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index f9b48b78a..721f66e31 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1797,7 +1797,7 @@ Fl_X* Fl_X::make(Fl_Window* w) { Fl_X *x = new Fl_X; x->other_xid = 0; - x->setwindow(w); + x->w = w; w->i = x; x->region = 0; x->private_dc = 0; x->cursor = LoadCursor(NULL, IDC_ARROW); diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index 508105658..41aeb2c87 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -2216,7 +2216,7 @@ Fl_X* Fl_X::set_xid(Fl_Window* win, Window winxid) { Fl_X *xp = new Fl_X; xp->xid = winxid; xp->other_xid = 0; - xp->setwindow(win); + xp->w = win; win->i = xp; xp->next = Fl_X::first; xp->region = 0; xp->wait_for_expose = 1; -- cgit v1.2.3