git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26798
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// DoAddChild(this) will retain us again since addSubView doesn't.
[m_cocoaNSView release];
// DoAddChild(this) will retain us again since addSubView doesn't.
[m_cocoaNSView release];
- [GetNSButton() setBezelStyle:NSRoundedBezelStyle];
- [GetNSButton() setTitle:@"Bitmap Button"];
+ [GetNSButton() setBezelStyle: NSRegularSquareBezelStyle];
+ [GetNSButton() setImage:bitmap.GetNSImage(true)];
[GetNSControl() sizeToFit];
if(m_parent)
[GetNSControl() sizeToFit];
if(m_parent)