]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dobjcmn.cpp
fix typo in r57455 which totally broke modal dialogs display (close #10291)
[wxWidgets.git] / src / common / dobjcmn.cpp
index 02786e98cd3363c82b2b71b5aed9d6c1386f024b..d9327709c5bd5b8447cc9e15d0f5f59d3bc7d4ee 100644 (file)
@@ -320,7 +320,7 @@ bool wxTextDataObject::GetDataHere(const wxDataFormat& format, void *buf) const
 bool wxTextDataObject::SetData(const wxDataFormat& format,
                                size_t len, const void *buf_)
 {
-    const char * const buf = wx_static_cast(const char *, buf_);
+    const char * const buf = static_cast<const char *>(buf_);
 
     if ( buf == NULL )
         return false;