X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4af4b5253176b7a14d961cf6ee8872a7694475bd..ed6e7f8cfeb41348e13032c5a323d96bcfb22c6d:/src/mac/carbon/choice.cpp diff --git a/src/mac/carbon/choice.cpp b/src/mac/carbon/choice.cpp index 0e9fdcba58..c395a39d19 100644 --- a/src/mac/carbon/choice.cpp +++ b/src/mac/carbon/choice.cpp @@ -139,7 +139,7 @@ int wxChoice::DoInsertItems(const wxArrayStringsAdapter & items, UMAInsertMenuItem(MAC_WXHMENU( m_macPopUpMenuHandle ), items[i], - m_font.GetEncoding(), + GetFont().GetEncoding(), idx); m_datas.Insert( NULL, idx ); AssignNewItemClientData(idx, clientData, i, type);