From 1d06051e8c1769e2fead7ef38c7beff65d899b42 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 4 Dec 2001 03:03:17 +0000 Subject: FLTK for Mac: Reversed to outdated (but working) event handling. Added README.mac Added mac.r minimal resource fork Still lots of bugs, but initial rendering works git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Double_Window.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_Double_Window.cxx') diff --git a/src/Fl_Double_Window.cxx b/src/Fl_Double_Window.cxx index 6e2a741bc..8145dfdf1 100644 --- a/src/Fl_Double_Window.cxx +++ b/src/Fl_Double_Window.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.1 2001/11/27 17:44:06 easysw Exp $" +// "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.2 2001/12/04 03:03:17 matthiaswm Exp $" // // Double-buffered window code for the Fast Light Tool Kit (FLTK). // @@ -149,7 +149,7 @@ void fl_begin_offscreen(GWorldPtr gWorld) { PixMapHandle pm = GetGWorldPixMap(gWorld); LockPixels(pm); fl_window = (Window)prevPort; - SetPort( (GrafPtr)fl_window ); + SetPort( GetWindowPort(fl_window) ); } fl_push_no_clip(); } @@ -275,5 +275,5 @@ Fl_Double_Window::~Fl_Double_Window() { } // -// End of "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.1 2001/11/27 17:44:06 easysw Exp $". +// End of "$Id: Fl_Double_Window.cxx,v 1.12.2.4.2.2 2001/12/04 03:03:17 matthiaswm Exp $". // -- cgit v1.2.3