NULL check required in wxRichTextBuffer::SetStyleSheetAndNotify()

Description

SetStyleSheetAndNotify() crashes for a standalone wxRichTextBuffer object. Although the return value of GetRichTextCtrl() is checked before calling GetId(), it is not checked before calling GetFocusObject() on the control.