]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/choice.cpp
splitted wxApp docs in wxApp+wxAppConsole docs; fix the signature of the documented...
[wxWidgets.git] / src / mac / carbon / choice.cpp
index 0e9fdcba58aed03a866d4b8bfabc5e6e5e897d95..c395a39d19fdbc1a0789df384035195a4d00d510 100644 (file)
@@ -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);