To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=78747





------- Additional comments from [EMAIL PROTECTED] Mon Jun 25 08:27:24 +0000 
2007 -------
mt->cd: Please don't accept that patch.

The approach is wrong, and for sure we don't want to see the fprintf stuff 
there.

The right approach is to rely on VCLEVENT_BUTTON_CLICK, because only this way
multiple listeners are possible.
ClickHdl allows only 1 listener.

So to fix it, trigger the event in VCL before calling the virtual "Click"
method, if possible.
If not possible, make sure the Click() methods from the special buttons call the
base class.

In theory, you even shouldn't perform the default action if a button is created
with the toolkit.
But I am not so sure about this.
For some reason we did the following some time after creating AWT: When you
create a dialog via the toolkit, the closer won't close the dialog 
automatically.
So when I use an OK/Help button, what does the user want. Does he want default
behavior, or just a bottom with the localized text?
I don't know. Probably default behavior is fine here.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to