Project

General

Profile

Bug #8164

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

Added by Andreas Frolov over 1 year ago. Updated 6 months 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 over 1 year 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 about 1 year ago

  • Status changed from InProgress to Implemented @Emweb
#3

Updated by Roel Standaert about 1 year ago

  • Target version set to 4.6.0
#4

Updated by Roel Standaert about 1 year ago

  • Status changed from Implemented @Emweb to Resolved
#5

Updated by Roel Standaert 11 months ago

  • % Done changed from 0 to 100
#6

Updated by Roel Standaert 6 months ago

  • Status changed from Resolved to Closed
#7

Updated by Andreas Frolov 6 months ago

Hi,

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

Also available in: Atom PDF