[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

Re: [XaraXtreme-dev] Tabbed dialogs (was Re: [XaraXtreme-commits] Commit Complete)


--On 03 May 2006 16:27 +0100 Luke Hart <lukeh@xxxxxxxx> wrote:

That's correct, but as you said they're helpful in the bars.

OK I'll zap them and leave "<title>".

Also you
will find tab names will all change to '-', this caused by
CamResources::GetTextFail not failing and instead returning '-'. I'm not
sure what's causing this.

You must have an object with the name in question in use. grep in
strings.lst and I bet you see an entry with a "-". I think it's
probably a biproduct of how the strings are created. Perhaps you
need to do something like:

	wxString name = CamResource::GetObjectName(pDlg->DlgResID);
	ResourceID res=CamResource::GetResourceID((const TCHAR *)name);

i.e. look up the dialog name with "_NAME" on the end.