From f0fcbb38663cc292650957402c363170b3e40602 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 17 Jul 2006 20:14:50 +0000 Subject: Fixed my previous fix... . Resizing events were not handled anymore. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5258 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_mac.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Fl_mac.cxx b/src/Fl_mac.cxx index 15d86f1f9..030918a87 100644 --- a/src/Fl_mac.cxx +++ b/src/Fl_mac.cxx @@ -1881,7 +1881,7 @@ void Fl_X::make(Fl_Window* w) { kEventClassWindow, kEventWindowExpanded }, { kEventClassWindow, kEventWindowBoundsChanging }, { kEventClassWindow, kEventWindowBoundsChanged } }; - ret = InstallWindowEventHandler( x->xid, windowHandler, 8, windowEvents, w, 0L ); + ret = InstallWindowEventHandler( x->xid, windowHandler, 10, windowEvents, w, 0L ); ret = InstallTrackingHandler( dndTrackingHandler, x->xid, w ); ret = InstallReceiveHandler( dndReceiveHandler, x->xid, w ); } @@ -1895,7 +1895,7 @@ void Fl_X::make(Fl_Window* w) if (w->size_range_set) w->size_range_(); - if (winclass != kHelpWindowClass) { + //if (winclass != kHelpWindowClass) { Fl_Tooltip::enter(0); ShowWindow(x->xid); if (fl_show_iconic) { @@ -1904,7 +1904,7 @@ void Fl_X::make(Fl_Window* w) } else { w->set_visible(); } - } + //} Rect rect; GetWindowBounds(x->xid, kWindowContentRgn, &rect); -- cgit v1.2.3