]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/ogl/oglmisc.cpp
bug fixes for using wxTransientPopupWindow and wxDP_ALLOWNONE support from Andreas...
[wxWidgets.git] / contrib / src / ogl / oglmisc.cpp
index 74efcd160922e00c7d22d3e21524541091a17aca..3f63c093177784a4362d74b22cce3b9fc0cff25a 100644 (file)
@@ -282,7 +282,7 @@ void oglCentreText(wxDC& dc, wxList *text_list,
     i ++;
   }
 
-  delete widths;
+  delete[] widths;
 }
 
 // Centre a list of strings in the given box