git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71806
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxRichTextCtrl::DoLoadFile(const wxString& filename, int fileType)
{
+ SetFocusObject(& GetBuffer(), true);
+
bool success = GetBuffer().LoadFile(filename, (wxRichTextFileType)fileType);
if (success)
m_filename = filename;
bool wxRichTextStylePage::TransferDataToWindow()
{
wxPanel::TransferDataToWindow();
-
+
wxRichTextStyleDefinition* def = wxRichTextFormattingDialog::GetDialogStyleDefinition(this);
if (def)
{