macOS do not show font panel in context menu unless wxTE_RICH|2

fixes #18357
This commit is contained in:
Stefan Csomor
2019-03-10 18:57:57 +01:00
parent 099de4ecab
commit bb27020ab3

View File

@@ -759,6 +759,7 @@ wxNSTextViewControl::wxNSTextViewControl( wxTextCtrl *wxPeer, WXWidget w, long s
if ( !wxPeer->HasFlag(wxTE_RICH | wxTE_RICH2) )
{
[tv setRichText:NO];
[tv setUsesFontPanel:NO];
}
if ( wxPeer->HasFlag(wxTE_AUTO_URL) )