Kaydet (Commit) 91672c8b authored tarafından Caolán McNamara's avatar Caolán McNamara

accessible names set *after* resource was freed, so names were null

I've seen so many of these accessible resources in the wrong place
or otherwise broken that I wonder if any of that is really working.

We can eventually move all this foo into the .ui format and implement the
accessiblilty stuff in the builder

Change-Id: I82e87df05d5cd3777ed5ab8b83c424ff759124e9
üst e87c9d84
......@@ -74,8 +74,6 @@ XMLFilterSettingsDialog::XMLFilterSettingsDialog( Window* pParent, ResMgr& rResM
sTemplatePath( RTL_CONSTASCII_USTRINGPARAM( "$(user)/template/") ),
sDocTypePrefix( RTL_CONSTASCII_USTRINGPARAM( "doctype:") )
{
FreeResource();
mpResMgr = &rResMgr;
mpFilterListBox = new XMLFilterListBox( &maCtrlFilterList );
......@@ -86,6 +84,8 @@ XMLFilterSettingsDialog::XMLFilterSettingsDialog( Window* pParent, ResMgr& rResM
maCtrlFilterList.SetAccessibleName(RESIDSTR(STR_XML_FILTER_LISTBOX));
mpFilterListBox->SetHelpId( HID_XML_FILTER_LIST );
FreeResource();
maPBNew.SetClickHdl(LINK( this, XMLFilterSettingsDialog, ClickHdl_Impl ) );
maPBEdit.SetClickHdl(LINK( this, XMLFilterSettingsDialog, ClickHdl_Impl ) );
maPBTest.SetClickHdl(LINK( this, XMLFilterSettingsDialog, ClickHdl_Impl ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment