]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/control.cpp
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / src / mac / carbon / control.cpp
index 0dcfb505d021b2368ce23336d8705d3383ce6be0..cc93410764b4515916c2c0267e74ced50e9b622e 100644 (file)
@@ -473,7 +473,7 @@ void  wxControl::DoSetSize(int x, int y,
         return ;
     }
 
         return ;
     }
 
-     Rect oldbounds, newbounds;
+     Rect oldbounds;
      int new_x, new_y, new_width, new_height;
      int mac_x, mac_y;
  
      int new_x, new_y, new_width, new_height;
      int mac_x, mac_y;