replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-11-02 02:39:52 +00:00
parent 6fc905e0e1
commit 5c33522fca
174 changed files with 347 additions and 348 deletions

View File

@@ -1197,7 +1197,7 @@ FormatAsHex(const void *data,
// write all the rest as comma-separated bytes
value.reserve(3*size + 10);
const char * const p = wx_static_cast(const char *, data);
const char * const p = static_cast<const char *>(data);
for ( size_t n = 0; n < size; n++ )
{
// TODO: line wrapping: although not required by regedit, this makes
@@ -1364,7 +1364,7 @@ bool wxRegKey::DoExport(wxOutputStream& ostr) const
// dump all our values
long dummy;
wxString name;
wxRegKey& self = wx_const_cast(wxRegKey&, *this);
wxRegKey& self = const_cast<wxRegKey&>(*this);
bool cont = self.GetFirstValue(name, dummy);
while ( cont )
{