Closes #14712, #14713.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72584
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CGColorRef wxMacCreateCGColor( const wxColour& col )
{
- CGColorRef retval = 0;
-
- retval = col.CreateCGColor();
+ CGColorRef retval = col.CreateCGColor();
wxASSERT(retval != NULL);
return retval;
// hide items in the apple menu that don't exist in the wx menubar
- int menuid = 0;
wxMenuItem* appleItem = NULL;
wxMenuItem* wxItem = NULL;
- menuid = wxApp::s_macAboutMenuItemId;
+ int menuid = wxApp::s_macAboutMenuItemId;
appleItem = m_appleMenu->FindItem(menuid);
wxItem = FindItem(menuid);
if ( appleItem != NULL )