> Ian: this patch was meant to go together with another one
> for file Fl_Sys_Menu_Bar.cxx posted Wed at 8:58 FLTK time.
> You may be more successful if you apply both.

OK - I'll not get to this until later today, but I will make sure that I
have both patches applied (I am not sure whether I did or not...) I'll
have to pick through the patch as I applied it yesterday anyway, to make
sure that I have "unwrapped" all the lines in a sensible way.

Also, can you post your patches as attachments, or via the STR "file"
interface, as they seem to be getting chewed up a bit by the mail system
and that is making them difficult to apply. 


On the drag-n-drop issue, I did a little work on that yesterday too, but
did not get very far (had promised to help a friend install his new,
very much bigger, lathe in his workshop...)

What I found was that the code seems to be getting into MACpreparedrag()
and then croaking, but I did not get any chance to investigate why...

A little bit of the code is clipped below:


int MACpreparedrag(void)
{
   CFDataRef text = CFDataCreate(kCFAllocatorDefault, (UInt8*) 
fl_selection_buffer[0], fl_selection_length[0]);
   if (text==NULL) return false;
   NSAutoreleasePool *localPool;
   localPool = [[NSAutoreleasePool alloc] init];
   NSPasteboard *mypasteboard = [NSPasteboard  
pasteboardWithName:NSDragPboard];
   [mypasteboard declareTypes:[NSArray arrayWithObjects:@"public.utf8- 
plain-text", nil] owner:nil];
   [mypasteboard setData:(NSData*)text forType:@"public.utf8-plain- 
text"];
   CFRelease(text);
   Fl_Widget *w = Fl::pushed();
   Fl_Window *win = w->window();
   while(win->window()) win = win->window();

... This seems to be as far as we get before it dies...


Any thoughts or suggestions as to where to look to get a handle on the
issue?

-- 
Ian





SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to