]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/clipbrd.cpp
use Print Manager session APIs if PM_USE_SESSION_APIS is true
[wxWidgets.git] / src / mac / carbon / clipbrd.cpp
index cb69904f95b2567f1e7d7fa3cc4d9e6b376a5e03..f493b5bf6531b6dae7e88d5fc22682af9b2f4e85 100644 (file)
@@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
           }
           else
           {
           }
           else
           {
-            delete[] data ;
+            delete[] ((char *)data) ;
             data = NULL ;
           }
                        }
             data = NULL ;
           }
                        }