mirror of
https://github.com/fltk/fltk.git
synced 2026-05-10 05:27:55 +08:00
static function get_image_from_clipboard(Fl_Widget *) really returns Fl_RGB_Image* type
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-1
@@ -3420,7 +3420,7 @@ static int get_plain_text_from_clipboard(int clipboard)
|
||||
return length;
|
||||
}
|
||||
|
||||
static Fl_Image* get_image_from_clipboard(Fl_Widget *receiver)
|
||||
static Fl_RGB_Image* get_image_from_clipboard(Fl_Widget *receiver)
|
||||
{
|
||||
NSPasteboard *clip = [NSPasteboard generalPasteboard];
|
||||
NSArray *present = [clip types]; // types in pasteboard in order of decreasing preference
|
||||
|
||||
Reference in New Issue
Block a user