summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2006-07-17 20:14:50 +0000
committerMatthias Melcher <fltk@matthiasm.com>2006-07-17 20:14:50 +0000
commitf0fcbb38663cc292650957402c363170b3e40602 (patch)
tree57f01ca4facef3f1e79690fdf8e8a05bcf3de83c
parent30f4aebe8af22faa6d399396856b640006ad272a (diff)
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
-rw-r--r--src/Fl_mac.cxx6
1 files changed, 3 insertions, 3 deletions
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);