Project

General

Profile

Bug #8164

Re-implementation of WStandardItem::clone is not possible.

Added by Andreas Frolov 11 months ago. Updated 12 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/03/2021
Due date:
% Done:

100%

Estimated time:

Description

Hallo,

The WStandardItem::clone function cannot currently be re-implemented. Either the WStandardItem object is created when I use the basic functionality or the private memeber are not cloned when I don't.

My suggestion(not tested) to fix is attached.


Files

WStandardItem.patch (666 Bytes) WStandardItem.patch Andreas Frolov, 03/03/2021 08:41 AM
#1

Updated by Korneel Dumon 11 months ago

  • Status changed from New to InProgress

Hi,

this makes sense, we will probably add the protected copy constructor as you suggest.

#2

Updated by Roel Standaert 10 months ago

  • Status changed from InProgress to Implemented @Emweb
#3

Updated by Roel Standaert 10 months ago

  • Target version set to 4.6.0
#4

Updated by Roel Standaert 8 months ago

  • Status changed from Implemented @Emweb to Resolved
#5

Updated by Roel Standaert 5 months ago

  • % Done changed from 0 to 100
#6

Updated by Roel Standaert about 1 month ago

  • Status changed from Resolved to Closed
#7

Updated by Andreas Frolov 12 days ago

Hi,

Copy constructor does not initialize all member variables like other constructors do.

Also available in: Atom PDF