macOS do not show font panel in context menu unless wxTE_RICH|2
fixes #18357
This commit is contained in:
@@ -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) )
|
||||
|
Reference in New Issue
Block a user