Closed Bug 343453 Opened 18 years ago Closed 1 year ago

nsIWidget::GetParent don't use NS_IMETHOD_

Categories

(Core :: Widget, defect)

x86
Windows XP
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bugzilla.20.scyt, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

nsIWidget::GetParent and some other methods in this interface don't use NS_IMETHOD_ for their deklaration.

e.g.
virtual nsIWidget* GetParent(void) = 0;
should read
NS_IMETHOD_(nsIWidget*) GetParent(void) = 0;

Because of this the affected methods do not get the usual decorations like a calling convention.

Specifically the calling convention bite me because for an embedding project I tried to reimplement parts of the nsWindow object.

Reproducible: Always
This conflicts with bug 431634. What are you trying to do?
QA Contact: general
Severity: normal → S3

The deCOMtamination process begun in bug 431634 was later completed in bug 1293596. It's not likely that we'll reverse that without a very compelling use case.

Closing as WONTFIX.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.