]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
wxDataViewChoiceRenderer's editor control should have the same size as the cell.
[wxWidgets.git] / src / common / gdicmn.cpp
index f2522192b7f12d8925f5511dec11513d8f2f1615..e87361656b39dcdfac7d7c6a72f2077f2bba0ee5 100644 (file)
@@ -253,7 +253,7 @@ wxRect operator*(const wxRect& r1, const wxRect& r2)
 }
 
 wxRealPoint::wxRealPoint(const wxPoint& pt)
- : x(pt.x), y(pt.y) 
+ : x(pt.x), y(pt.y)
 {
 }
 
@@ -526,8 +526,7 @@ void wxStockGDI::DeleteAll()
 {
     for (unsigned i = 0; i < ITEMCOUNT; i++)
     {
-        delete ms_stockObject[i];
-        ms_stockObject[i] = NULL;
+        wxDELETE(ms_stockObject[i]);
     }
 }