]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/image.h
use wxEventType coherently with the docs
[wxWidgets.git] / include / wx / image.h
index b40f7d305dc82e78702adfc1b195381bd5bedd81..b09aaf2ed1b518b9b071c3f62380aef21f68c10b 100644 (file)
@@ -233,8 +233,8 @@ public:
     bool Create( const char* const* xpmData );
 #ifdef __BORLANDC__
     // needed for Borland 5.5
-    wxImage( char** xpmData ) { Create(wx_const_cast(const char* const*, xpmData)); }
-    bool Create( char** xpmData ) { return Create(wx_const_cast(const char* const*, xpmData)); }
+    wxImage( char** xpmData ) { Create(const_cast<const char* const*>(xpmData)); }
+    bool Create( char** xpmData ) { return Create(const_cast<const char* const*>(xpmData)); }
 #endif
     void Destroy();