summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
669f031)
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 wxMacCreateCGColor( const wxColour& col )
{
- CGColorRef retval = 0;
-
- retval = col.CreateCGColor();
+ CGColorRef retval = col.CreateCGColor();
wxASSERT(retval != NULL);
return retval;
wxASSERT(retval != NULL);
return retval;
// hide items in the apple menu that don't exist in the wx menubar
// hide items in the apple menu that don't exist in the wx menubar
wxMenuItem* appleItem = NULL;
wxMenuItem* wxItem = NULL;
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 )
appleItem = m_appleMenu->FindItem(menuid);
wxItem = FindItem(menuid);
if ( appleItem != NULL )