~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to external/monomac/src/AppKit/BeginSheet.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
                        }
62
62
                }
63
63
        }
64
 
        
65
 
        public partial class NSAlert {
66
 
                public void BeginSheet (NSWindow window)
67
 
                {
68
 
                        BeginSheet (window, null, null, IntPtr.Zero);
69
 
                }
70
 
                
71
 
                public void BeginSheet (NSWindow window, NSAction onEnded)
72
 
                {
73
 
                        var obj = OneShotTracker.Create (onEnded);
74
 
                        BeginSheet (window, obj, NSActionDispatcher.Selector, IntPtr.Zero);
75
 
                }
76
 
        }
77
64
 
78
65
        public partial class NSApplication {
79
66
                public void BeginSheet (NSWindow sheet, NSWindow docWindow)