- UnRef();
-
- m_refData = new wxIconRefData;
- M_ICONDATA->m_width = 5;
- M_ICONDATA->m_height = 5;
- M_ICONDATA->m_cocoaNSImage = [[NSImage alloc] initWithSize:NSMakeSize(5,5)];
- M_ICONDATA->m_ok = true;
- M_ICONDATA->m_numColors = 0;
- M_ICONDATA->m_quality = 0;
-
- return FALSE;
+ wxBitmap bitmap(filename, type);
+ CopyFromBitmap(bitmap);
+ return bitmap.IsOk();