X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbe4a80c57a77b249ef32117efe9fd923066f958..4b8dab63399ef6feeb39eb9f7d57c9d0d0c7524f:/src/mac/carbon/dirdlg.cpp?ds=sidebyside diff --git a/src/mac/carbon/dirdlg.cpp b/src/mac/carbon/dirdlg.cpp index 57e384eaff..5caa7f6b4b 100644 --- a/src/mac/carbon/dirdlg.cpp +++ b/src/mac/carbon/dirdlg.cpp @@ -87,7 +87,7 @@ int wxDirDialog::ShowModal() options.optionFlags &= ~kNavAllowMultipleFiles; if (err == noErr) { - wxCFStringRef message(m_message, m_font.GetEncoding()); + wxCFStringRef message(m_message, GetFont().GetEncoding()); options.message = message; err = NavCreateChooseFolderDialog(&options, sStandardNavEventFilter , NULL, this , &dialog); if (err == noErr)