]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/ogl/src/basic2.cpp
Removed bitmap.cpp, bitmap.h from OGL
[wxWidgets.git] / utils / ogl / src / basic2.cpp
index 2c9c7c9b2cdef90c7430c2b83082df17b5b9850e..46e1723c6a86fbb58fdc89881274ac7f81df65f6 100644 (file)
@@ -1583,9 +1583,10 @@ void wxShape::OnSizingBeginDragLeft(wxControlPoint* pt, double x, double y, int
 
   wxClientDC dc(GetCanvas());
   GetCanvas()->PrepareDC(dc);
-
+/*
   if (pt->m_eraseObject)
     this->Erase(dc);
+*/
 
   dc.SetLogicalFunction(wxXOR);
 
@@ -1694,8 +1695,11 @@ void wxShape::OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int ke
   this->Recompute();
   this->ResetControlPoints();
 
+  this->Erase(dc);
+/*
   if (!pt->m_eraseObject)
     this->Show(FALSE);
+*/
 
   this->SetSize(pt->controlPointDragEndWidth, pt->controlPointDragEndHeight);
 
@@ -1711,8 +1715,10 @@ void wxShape::OnSizingEndDragLeft(wxControlPoint* pt, double x, double y, int ke
   else
     theObject->Move(dc, pt->controlPointDragPosX, pt->controlPointDragPosY);
 
+/*
   if (!eraseIt)
     theObject->Show(TRUE);
+*/
     
   // Recursively redraw links if we have a composite.
   if (theObject->GetChildren().Number() > 0)