]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/stattextcmn.cpp
remove the badle defined and apparently unnecessary wxSocketImpl::m_detected field
[wxWidgets.git] / src / common / stattextcmn.cpp
index f7b6a787ddfac3f539310f5fafc7c7e731820923..b2ac7a044cb4281986b5b87a0c426fd37266528d 100644 (file)
@@ -323,7 +323,7 @@ wxString wxStaticTextBase::Ellipsize(const wxString& label) const
         return label;
     }
 
-    wxClientDC dc(wx_const_cast(wxStaticTextBase*, this));
+    wxClientDC dc(const_cast<wxStaticTextBase*>(this));
     dc.SetFont(GetFont());
 
     wxArrayInt charOffsets;