wxOSX: Rewiring GetBestSize for single line text control again

see #22374
This commit is contained in:
Stefan Csomor
2022-04-30 20:34:28 +02:00
parent 74c0fe6dcc
commit dc2ff0d6b4
2 changed files with 19 additions and 0 deletions

View File

@@ -85,6 +85,9 @@ public :
virtual bool GetNewLineReplacement() wxOVERRIDE;
virtual void SetInternalSelection( long from , long to );
virtual void UpdateInternalSelectionFromEditor( wxNSTextFieldEditor* editor);
virtual wxSize GetBestSize() const wxOVERRIDE;
protected :
NSTextField* m_textField;
long m_selStart;