]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected assignement operator
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 19 May 2002 07:09:51 +0000 (07:09 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sun, 19 May 2002 07:09:51 +0000 (07:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/src/fl/controlbar.cpp

index b2a86ed6fcee1e026668157df42d9e7a018e4c73..9c00fed379f1dacb42752d521f82db3ac2ecbf0c 100644 (file)
@@ -2080,7 +2080,20 @@ cbCommonPaneProperties::cbCommonPaneProperties(const cbCommonPaneProperties& pro
 
 cbCommonPaneProperties& cbCommonPaneProperties::operator=(const cbCommonPaneProperties& props)
 {
 
 cbCommonPaneProperties& cbCommonPaneProperties::operator=(const cbCommonPaneProperties& props)
 {
-    (*this) = props;
+    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;
+
     return *this;
 }
 
     return *this;
 }