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:
@@ -103,7 +103,7 @@ public:
|
||||
|
||||
memcpy(olestr, wcbuf, size);
|
||||
|
||||
*rgelt++ = wx_static_cast(LPOLESTR, olestr);
|
||||
*rgelt++ = static_cast<LPOLESTR>(olestr);
|
||||
|
||||
++(*pceltFetched);
|
||||
}
|
||||
@@ -341,7 +341,7 @@ bool wxTextEntry::AutoComplete(const wxArrayString& choices)
|
||||
NULL,
|
||||
CLSCTX_INPROC_SERVER,
|
||||
IID_IAutoComplete,
|
||||
wx_reinterpret_cast(void **, &pAutoComplete)
|
||||
reinterpret_cast<void **>(&pAutoComplete)
|
||||
);
|
||||
if ( FAILED(hr) )
|
||||
{
|
||||
@@ -365,7 +365,7 @@ bool wxTextEntry::AutoComplete(const wxArrayString& choices)
|
||||
hr = pAutoComplete->QueryInterface
|
||||
(
|
||||
IID_IAutoComplete2,
|
||||
wx_reinterpret_cast(void **, &pAutoComplete2)
|
||||
reinterpret_cast<void **>(&pAutoComplete2)
|
||||
);
|
||||
if ( SUCCEEDED(hr) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user