X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f96524a0f6e44549b55c5adbbb90c8ee0d5419f1..6cef0db28018fd2644ee4e38af715872e5242459:/src/mac/carbon/notebmac.cpp?ds=sidebyside diff --git a/src/mac/carbon/notebmac.cpp b/src/mac/carbon/notebmac.cpp index 925e652b43..7f82d490f7 100644 --- a/src/mac/carbon/notebmac.cpp +++ b/src/mac/carbon/notebmac.cpp @@ -399,7 +399,7 @@ void wxNotebook::MacSetupTabs() page = m_pages[ii]; info.version = kControlTabInfoVersionOne; info.iconSuiteID = 0; - wxCFStringRef cflabel( page->GetLabel(), m_font.GetEncoding() ) ; + wxCFStringRef cflabel( page->GetLabel(), GetFont().GetEncoding() ) ; info.name = cflabel ; m_peer->SetData( ii + 1, kControlTabInfoTag, &info ) ;