]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/strconv.cpp
Relax validation of wxCheckBox flags.
[wxWidgets.git] / src / common / strconv.cpp
index 4615f5b24b646a688cb12056d6967e67989dc3e8..f46ccf449845b8d68c0643bd62229697f1bd091d 100644 (file)
@@ -3227,7 +3227,7 @@ void wxCSConv::CreateConvIfNeeded() const
 {
     if ( m_deferred )
     {
-        wxCSConv *self = (wxCSConv *)this; // const_cast
+        wxCSConv *self = const_cast<wxCSConv *>(this);
 
         // if we don't have neither the name nor the encoding, use the default
         // encoding for this system