conforming to new naming convention of starting all port specific methods with the port prefix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -172,7 +172,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
    WX_NSFontDescriptor m_nsFontDescriptor;
 | 
					    WX_NSFontDescriptor m_nsFontDescriptor;
 | 
				
			||||||
    void            ValidateNSFontDescriptor();
 | 
					    void            OSXValidateNSFontDescriptor();
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_IPHONE
 | 
					#if wxOSX_USE_IPHONE
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -128,22 +128,25 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_CARBON && wxOSX_USE_ATSU_TEXT
 | 
					#if wxOSX_USE_CARBON && wxOSX_USE_ATSU_TEXT
 | 
				
			||||||
    wxUint16 MacGetThemeFontID() const ;
 | 
					    wxUint16 MacGetThemeFontID() const ;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // 'old' Quickdraw accessors
 | 
					    // 'old' Quickdraw accessors
 | 
				
			||||||
    short MacGetFontNum() const;
 | 
					    short MacGetFontNum() const;
 | 
				
			||||||
    wxByte  MacGetFontStyle() const;
 | 
					    wxByte  MacGetFontStyle() const;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_COCOA_OR_CARBON
 | 
					#if wxOSX_USE_COCOA_OR_CARBON
 | 
				
			||||||
    CGFontRef GetCGFont() const;
 | 
					    CGFontRef OSXGetCGFont() const;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_CORE_TEXT
 | 
					#if wxOSX_USE_CORE_TEXT
 | 
				
			||||||
    CTFontRef GetCTFont() const;
 | 
					    CTFontRef OSXGetCTFont() const;
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_ATSU_TEXT
 | 
					#if wxOSX_USE_ATSU_TEXT
 | 
				
			||||||
    // Returns an ATSUStyle not ATSUStyle*
 | 
					    // Returns an ATSUStyle not ATSUStyle*
 | 
				
			||||||
    void* MacGetATSUStyle() const ;
 | 
					    void* MacGetATSUStyle() const ;
 | 
				
			||||||
 | 
					    void* OSXGetATSUStyle() const { return MacGetATSUStyle() ; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if WXWIN_COMPATIBILITY_2_8
 | 
					#if WXWIN_COMPATIBILITY_2_8
 | 
				
			||||||
    wxDEPRECATED( wxUint32 MacGetATSUFontID() const );
 | 
					    wxDEPRECATED( wxUint32 MacGetATSUFontID() const );
 | 
				
			||||||
    wxDEPRECATED( wxUint32 MacGetATSUAdditionalQDStyles() const );
 | 
					    wxDEPRECATED( wxUint32 MacGetATSUAdditionalQDStyles() const );
 | 
				
			||||||
@@ -151,14 +154,14 @@ public:
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
    WX_NSFont GetNSFont() const;
 | 
					    WX_NSFont OSXGetNSFont() const;
 | 
				
			||||||
    static WX_NSFont CreateNSFont(wxOSXSystemFont font, wxNativeFontInfo* info);
 | 
					    static WX_NSFont OSXCreateNSFont(wxOSXSystemFont font, wxNativeFontInfo* info);
 | 
				
			||||||
    static WX_NSFont CreateNSFont(const wxNativeFontInfo* info);
 | 
					    static WX_NSFont OSXCreateNSFont(const wxNativeFontInfo* info);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_IPHONE
 | 
					#if wxOSX_USE_IPHONE
 | 
				
			||||||
    WX_UIFont GetUIFont() const;
 | 
					    WX_UIFont OSXGetUIFont() const;
 | 
				
			||||||
    static WX_NSFont CreateUIFont(wxOSXSystemFont font, wxNativeFontInfo* info);
 | 
					    static WX_NSFont OSXCreateUIFont(wxOSXSystemFont font, wxNativeFontInfo* info);
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
protected:
 | 
					protected:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -692,7 +692,7 @@ wxCairoFontData::wxCairoFontData( wxGraphicsRenderer* renderer, const wxFont &fo
 | 
				
			|||||||
    m_underlined = font.GetUnderlined();
 | 
					    m_underlined = font.GetUnderlined();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __WXMAC__
 | 
					#ifdef __WXMAC__
 | 
				
			||||||
    m_font = cairo_quartz_font_face_create_for_cgfont( font.GetCGFont() );
 | 
					    m_font = cairo_quartz_font_face_create_for_cgfont( font.OSXGetCGFont() );
 | 
				
			||||||
#elif defined(__WXGTK__)
 | 
					#elif defined(__WXGTK__)
 | 
				
			||||||
    m_font = pango_font_description_copy( font.GetNativeFontInfo()->description );
 | 
					    m_font = pango_font_description_copy( font.GetNativeFontInfo()->description );
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -384,10 +384,10 @@ wxFontRefData::wxFontRefData(wxOSXSystemFont font, int size)
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
    m_nsFont = wxFont::CreateNSFont( font, &m_info );
 | 
					    m_nsFont = wxFont::OSXCreateNSFont( font, &m_info );
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_IPHONE
 | 
					#if wxOSX_USE_IPHONE
 | 
				
			||||||
    m_uiFont = wxFont::CreateUIFont( font, &m_info );
 | 
					    m_uiFont = wxFont::OSXCreateUIFont( font, &m_info );
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -483,10 +483,10 @@ void wxFontRefData::MacFindFont()
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
    m_nsFont = wxFont::CreateNSFont( &m_info );
 | 
					    m_nsFont = wxFont::OSXCreateNSFont( &m_info );
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_IPHONE
 | 
					#if wxOSX_USE_IPHONE
 | 
				
			||||||
    m_uiFont = wxFont::CreateUIFont( &m_info );
 | 
					    m_uiFont = wxFont::OSXCreateUIFont( &m_info );
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    m_fontValid = true;
 | 
					    m_fontValid = true;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -799,7 +799,7 @@ wxUint32 wxFont::MacGetATSUAdditionalQDStyles() const
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_CORE_TEXT
 | 
					#if wxOSX_USE_CORE_TEXT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CTFontRef wxFont::GetCTFont() const
 | 
					CTFontRef wxFont::OSXGetCTFont() const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    wxCHECK_MSG( M_FONTDATA != NULL , 0, wxT("invalid font") );
 | 
					    wxCHECK_MSG( M_FONTDATA != NULL , 0, wxT("invalid font") );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -813,7 +813,7 @@ CTFontRef wxFont::GetCTFont() const
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_COCOA_OR_CARBON
 | 
					#if wxOSX_USE_COCOA_OR_CARBON
 | 
				
			||||||
 | 
					
 | 
				
			||||||
CGFontRef wxFont::GetCGFont() const
 | 
					CGFontRef wxFont::OSXGetCGFont() const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    wxCHECK_MSG( M_FONTDATA != NULL , 0, wxT("invalid font") );
 | 
					    wxCHECK_MSG( M_FONTDATA != NULL , 0, wxT("invalid font") );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -828,7 +828,7 @@ CGFontRef wxFont::GetCGFont() const
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
 | 
					
 | 
				
			||||||
NSFont* wxFont::GetNSFont() const
 | 
					NSFont* wxFont::OSXGetNSFont() const
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    wxCHECK_MSG( M_FONTDATA != NULL , 0, wxT("invalid font") );
 | 
					    wxCHECK_MSG( M_FONTDATA != NULL , 0, wxT("invalid font") );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1057,7 +1057,7 @@ void wxNativeFontInfo::EnsureValid()
 | 
				
			|||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
    if ( m_nsFontDescriptor == NULL )
 | 
					    if ( m_nsFontDescriptor == NULL )
 | 
				
			||||||
        ValidateNSFontDescriptor();
 | 
					        OSXValidateNSFontDescriptor();
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_IPHONE
 | 
					#if wxOSX_USE_IPHONE
 | 
				
			||||||
    // TODO
 | 
					    // TODO
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -232,7 +232,7 @@ int wxFontDialog::ShowModal()
 | 
				
			|||||||
#if wxOSX_USE_CORE_TEXT
 | 
					#if wxOSX_USE_CORE_TEXT
 | 
				
			||||||
    if ( UMAGetSystemVersion() >= 0x1050 )
 | 
					    if ( UMAGetSystemVersion() >= 0x1050 )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        CTFontDescriptorRef descr = (CTFontDescriptorRef) CTFontCopyFontDescriptor( (CTFontRef) font.GetCTFont() );
 | 
					        CTFontDescriptorRef descr = (CTFontDescriptorRef) CTFontCopyFontDescriptor( (CTFontRef) font.OSXGetCTFont() );
 | 
				
			||||||
        err = SetFontInfoForSelection (kFontSelectionCoreTextType,1, &descr , NULL);
 | 
					        err = SetFontInfoForSelection (kFontSelectionCoreTextType,1, &descr , NULL);
 | 
				
			||||||
        CFRelease( descr );
 | 
					        CFRelease( descr );
 | 
				
			||||||
        setup = true;
 | 
					        setup = true;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -171,7 +171,7 @@ CGColorRef wxMacCreateCGColor( const wxColour& col )
 | 
				
			|||||||
CTFontRef wxMacCreateCTFont( const wxFont& font )
 | 
					CTFontRef wxMacCreateCTFont( const wxFont& font )
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
#ifdef __WXMAC__
 | 
					#ifdef __WXMAC__
 | 
				
			||||||
    return wxCFRetain((CTFontRef) font.GetCTFont());
 | 
					    return wxCFRetain((CTFontRef) font.OSXGetCTFont());
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
    return CTFontCreateWithName( wxCFStringRef( font.GetFaceName(), wxLocale::GetSystemEncoding() ) , font.GetPointSize() , NULL );
 | 
					    return CTFontCreateWithName( wxCFStringRef( font.GetFaceName(), wxLocale::GetSystemEncoding() ) , font.GetPointSize() , NULL );
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
@@ -815,7 +815,7 @@ public:
 | 
				
			|||||||
    virtual ATSUStyle GetATSUStyle() { return m_macATSUIStyle; }
 | 
					    virtual ATSUStyle GetATSUStyle() { return m_macATSUIStyle; }
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
#if wxOSX_USE_CORE_TEXT
 | 
					#if wxOSX_USE_CORE_TEXT
 | 
				
			||||||
    CTFontRef GetCTFont() const { return m_ctFont ; }
 | 
					    CTFontRef OSXGetCTFont() const { return m_ctFont ; }
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
    wxColour GetColour() const { return m_colour ; }
 | 
					    wxColour GetColour() const { return m_colour ; }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -2165,7 +2165,7 @@ void wxMacCoreGraphicsContext::DoDrawText( const wxString &str, wxDouble x, wxDo
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        wxMacCoreGraphicsFontData* fref = (wxMacCoreGraphicsFontData*)m_font.GetRefData();
 | 
					        wxMacCoreGraphicsFontData* fref = (wxMacCoreGraphicsFontData*)m_font.GetRefData();
 | 
				
			||||||
        wxCFStringRef text(str, wxLocale::GetSystemEncoding() );
 | 
					        wxCFStringRef text(str, wxLocale::GetSystemEncoding() );
 | 
				
			||||||
        CTFontRef font = fref->GetCTFont();
 | 
					        CTFontRef font = fref->OSXGetCTFont();
 | 
				
			||||||
        CGColorRef col = wxMacCreateCGColor( fref->GetColour() );
 | 
					        CGColorRef col = wxMacCreateCGColor( fref->GetColour() );
 | 
				
			||||||
        CTUnderlineStyle ustyle = fref->GetUnderlined() ? kCTUnderlineStyleSingle : kCTUnderlineStyleNone ;
 | 
					        CTUnderlineStyle ustyle = fref->GetUnderlined() ? kCTUnderlineStyleSingle : kCTUnderlineStyleNone ;
 | 
				
			||||||
        wxCFRef<CFNumberRef> underlined( CFNumberCreate(NULL, kCFNumberSInt32Type, &ustyle) );
 | 
					        wxCFRef<CFNumberRef> underlined( CFNumberCreate(NULL, kCFNumberSInt32Type, &ustyle) );
 | 
				
			||||||
@@ -2342,7 +2342,7 @@ void wxMacCoreGraphicsContext::GetTextExtent( const wxString &str, wxDouble *wid
 | 
				
			|||||||
    if ( UMAGetSystemVersion() >= 0x1050 )
 | 
					    if ( UMAGetSystemVersion() >= 0x1050 )
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        wxMacCoreGraphicsFontData* fref = (wxMacCoreGraphicsFontData*)m_font.GetRefData();
 | 
					        wxMacCoreGraphicsFontData* fref = (wxMacCoreGraphicsFontData*)m_font.GetRefData();
 | 
				
			||||||
        CTFontRef font = fref->GetCTFont();
 | 
					        CTFontRef font = fref->OSXGetCTFont();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        wxCFStringRef text(str, wxLocale::GetSystemEncoding() );
 | 
					        wxCFStringRef text(str, wxLocale::GetSystemEncoding() );
 | 
				
			||||||
        CFStringRef keys[] = { kCTFontAttributeName  };
 | 
					        CFStringRef keys[] = { kCTFontAttributeName  };
 | 
				
			||||||
@@ -2437,7 +2437,7 @@ void wxMacCoreGraphicsContext::GetPartialTextExtents(const wxString& text, wxArr
 | 
				
			|||||||
#if wxOSX_USE_CORE_TEXT
 | 
					#if wxOSX_USE_CORE_TEXT
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        wxMacCoreGraphicsFontData* fref = (wxMacCoreGraphicsFontData*)m_font.GetRefData();
 | 
					        wxMacCoreGraphicsFontData* fref = (wxMacCoreGraphicsFontData*)m_font.GetRefData();
 | 
				
			||||||
        CTFontRef font = fref->GetCTFont();
 | 
					        CTFontRef font = fref->OSXGetCTFont();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        wxCFStringRef t(text, wxLocale::GetSystemEncoding() );
 | 
					        wxCFStringRef t(text, wxLocale::GetSystemEncoding() );
 | 
				
			||||||
        CFStringRef keys[] = { kCTFontAttributeName  };
 | 
					        CFStringRef keys[] = { kCTFontAttributeName  };
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2853,7 +2853,7 @@ void wxMacDataBrowserListCtrlControl::DrawItem(
 | 
				
			|||||||
        if (font.Ok())
 | 
					        if (font.Ok())
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            info.fontID = kThemeSpecifiedFont;
 | 
					            info.fontID = kThemeSpecifiedFont;
 | 
				
			||||||
            info.font = (CTFontRef) font.GetCTFont();
 | 
					            info.font = (CTFontRef) font.OSXGetCTFont();
 | 
				
			||||||
            setup = true;
 | 
					            setup = true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -93,7 +93,7 @@ void* wxMacCocoaRetain( void* obj )
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#if wxOSX_USE_COCOA
 | 
					#if wxOSX_USE_COCOA
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WX_NSFont wxFont::CreateNSFont(wxOSXSystemFont font, wxNativeFontInfo* info)
 | 
					WX_NSFont wxFont::OSXCreateNSFont(wxOSXSystemFont font, wxNativeFontInfo* info)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    NSFont* nsfont = nil;
 | 
					    NSFont* nsfont = nil;
 | 
				
			||||||
    switch( font )
 | 
					    switch( font )
 | 
				
			||||||
@@ -154,7 +154,7 @@ WX_NSFont wxFont::CreateNSFont(wxOSXSystemFont font, wxNativeFontInfo* info)
 | 
				
			|||||||
    return nsfont;
 | 
					    return nsfont;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void wxNativeFontInfo::ValidateNSFontDescriptor()
 | 
					void wxNativeFontInfo::OSXValidateNSFontDescriptor()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    NSFontDescriptor* desc  = [NSFontDescriptor fontDescriptorWithName:wxCFStringRef(m_faceName).AsNSString() size:m_pointSize];
 | 
					    NSFontDescriptor* desc  = [NSFontDescriptor fontDescriptorWithName:wxCFStringRef(m_faceName).AsNSString() size:m_pointSize];
 | 
				
			||||||
    NSFontSymbolicTraits traits = 0;
 | 
					    NSFontSymbolicTraits traits = 0;
 | 
				
			||||||
@@ -172,7 +172,7 @@ void wxNativeFontInfo::ValidateNSFontDescriptor()
 | 
				
			|||||||
    m_nsFontDescriptor = desc;
 | 
					    m_nsFontDescriptor = desc;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WX_NSFont wxFont::CreateNSFont(const wxNativeFontInfo* info)
 | 
					WX_NSFont wxFont::OSXCreateNSFont(const wxNativeFontInfo* info)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    NSFont* nsFont;
 | 
					    NSFont* nsFont;
 | 
				
			||||||
    nsFont = [NSFont fontWithDescriptor:info->m_nsFontDescriptor size:info->m_pointSize];
 | 
					    nsFont = [NSFont fontWithDescriptor:info->m_nsFontDescriptor size:info->m_pointSize];
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1228,7 +1228,7 @@ void wxMacControl::SetFont( const wxFont & font , const wxColour& foreground , l
 | 
				
			|||||||
            flush = kHIThemeTextHorizontalFlushCenter;
 | 
					            flush = kHIThemeTextHorizontalFlushCenter;
 | 
				
			||||||
        else if ( ( windowStyle & wxALIGN_MASK ) & wxALIGN_RIGHT )
 | 
					        else if ( ( windowStyle & wxALIGN_MASK ) & wxALIGN_RIGHT )
 | 
				
			||||||
            flush = kHIThemeTextHorizontalFlushRight;
 | 
					            flush = kHIThemeTextHorizontalFlushRight;
 | 
				
			||||||
        HIViewSetTextFont( m_controlRef , part , (CTFontRef) font.GetCTFont() );
 | 
					        HIViewSetTextFont( m_controlRef , part , (CTFontRef) font.OSXGetCTFont() );
 | 
				
			||||||
        HIViewSetTextHorizontalFlush( m_controlRef, part, flush );
 | 
					        HIViewSetTextHorizontalFlush( m_controlRef, part, flush );
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if ( foreground != *wxBLACK || ignoreBlack == false )
 | 
					        if ( foreground != *wxBLACK || ignoreBlack == false )
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1352,7 +1352,7 @@ void wxWidgetCocoaImpl::SetControlSize( wxWindowVariant variant )
 | 
				
			|||||||
void wxWidgetCocoaImpl::SetFont(wxFont const& font, wxColour const&, long, bool)
 | 
					void wxWidgetCocoaImpl::SetFont(wxFont const& font, wxColour const&, long, bool)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    if ([m_osxView respondsToSelector:@selector(setFont:)])
 | 
					    if ([m_osxView respondsToSelector:@selector(setFont:)])
 | 
				
			||||||
        [m_osxView setFont: font.GetNSFont()];
 | 
					        [m_osxView setFont: font.OSXGetNSFont()];
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void wxWidgetCocoaImpl::InstallEventHandler( WXWidget control )
 | 
					void wxWidgetCocoaImpl::InstallEventHandler( WXWidget control )
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user