Closed
Bug 710770
Opened 13 years ago
Closed 8 years ago
OS/2 needs to dispatch WILL_PAINT events
Categories
(Core Graveyard :: Widget: OS/2, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bzbarsky, Assigned: mkaply)
Details
Comment 2•13 years ago
|
||
It's probably still easier to do both (this one and bug 710772) in one patch. If I am not mistaken only a few lines need to be added to nsWindow::OnPaint(). Add nsPaintEvent willPaintEvent(true, NS_WILL_PAINT, this); willPaintEvent.willSendDidPaint = true; DispatchWindowEvent(&willPaintEvent); near line 1979 or at the top of the function and event.willSendDidPaint = true; near line 2037 and nsPaintEvent didPaintEvent(true, NS_DID_PAINT, this); DispatchWindowEvent(&didPaintEvent); near line 2135, before the return. But feel free to ignore me, since I don't know the code all that well any more, this may be complete rubbish... (I was just curious what this was about.)
(In reply to Peter Weilbacher from comment #2) [...] Thanks for the pointer, I'll test once I get my tree updated
Updated•10 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Comment 4•8 years ago
|
||
OS/2 is an unsupported paltform.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•