implemented cbCommonPaneProperties copy constructor and assignment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1026,6 +1026,14 @@ class cbCommonPaneProperties : public wxObject
|
|||||||
// Default constructor.
|
// Default constructor.
|
||||||
|
|
||||||
cbCommonPaneProperties(void);
|
cbCommonPaneProperties(void);
|
||||||
|
|
||||||
|
// Copy constructor
|
||||||
|
|
||||||
|
cbCommonPaneProperties(const cbCommonPaneProperties&);
|
||||||
|
|
||||||
|
// Assignment operator
|
||||||
|
|
||||||
|
cbCommonPaneProperties& operator=(const cbCommonPaneProperties&);
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -2060,6 +2060,30 @@ cbCommonPaneProperties::cbCommonPaneProperties(void)
|
|||||||
mResizeHandleSize( 4 )
|
mResizeHandleSize( 4 )
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
cbCommonPaneProperties::cbCommonPaneProperties(const cbCommonPaneProperties& props)
|
||||||
|
|
||||||
|
: wxObject(),
|
||||||
|
mRealTimeUpdatesOn (props.mRealTimeUpdatesOn),
|
||||||
|
mOutOfPaneDragOn (props.mOutOfPaneDragOn),
|
||||||
|
mExactDockPredictionOn(props.mExactDockPredictionOn),
|
||||||
|
mNonDestructFrictionOn(props.mNonDestructFrictionOn),
|
||||||
|
mShow3DPaneBorderOn (props.mShow3DPaneBorderOn),
|
||||||
|
mBarFloatingOn (props.mBarFloatingOn),
|
||||||
|
mRowProportionsOn (props.mRowProportionsOn),
|
||||||
|
mColProportionsOn (props.mColProportionsOn),
|
||||||
|
mBarCollapseIconsOn (props.mBarCollapseIconsOn),
|
||||||
|
mBarDragHintsOn (props.mBarDragHintsOn),
|
||||||
|
|
||||||
|
mMinCBarDim(props.mMinCBarDim),
|
||||||
|
mResizeHandleSize(props.mResizeHandleSize)
|
||||||
|
{}
|
||||||
|
|
||||||
|
cbCommonPaneProperties& cbCommonPaneProperties::operator=(const cbCommonPaneProperties& props)
|
||||||
|
{
|
||||||
|
(*this) = props;
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
/***** Implementation for class cbRowInfo *****/
|
/***** Implementation for class cbRowInfo *****/
|
||||||
|
|
||||||
IMPLEMENT_DYNAMIC_CLASS( cbRowInfo, wxObject )
|
IMPLEMENT_DYNAMIC_CLASS( cbRowInfo, wxObject )
|
||||||
|
Reference in New Issue
Block a user