nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Sanjay Arora
Hi, I am creating a new Button like the window's close button to attach it to my splitview to give is same close action. The problem is the button does not displays cross while I the hover mouse over it. NSButton *closeControl = [NSWindow standardWindowButton:NSWindowCloseButton

Re: nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Stephane Sudre
On Tue, Oct 16, 2012 at 9:35 AM, Sanjay Arora saar...@quark.com wrote: Hi, I am creating a new Button like the window's close button to attach it to my splitview to give is same close action. The problem is the button does not displays cross while I the hover mouse over it. NSButton

Re: nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Kyle Sluder
On Tue, Oct 16, 2012, at 12:35 AM, Sanjay Arora wrote: Hi, I am creating a new Button like the window's close button to attach it to my splitview to give is same close action. The problem is the button does not displays cross while I the hover mouse over it. NSButton *closeControl =

Re: nswindow close button for my splitview does not display cross while mouse hover

2012-10-16 Thread Jens Alfke
On Oct 16, 2012, at 12:35 AM, Sanjay Arora saar...@quark.com wrote: I am creating a new Button like the window's close button to attach it to my splitview to give is same close action. The problem is the button does not displays cross while I the hover mouse over it. NSButton