64-bit patch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2003-09-09 22:22:38 +00:00
parent 49d3b775c7
commit 23c98a6eb0

View File

@@ -104,8 +104,11 @@ void wxSetIconsX11( WXDisplay* display, WXWindow window,
if( size > 0 )
{
wxUint32* data = new wxUint32[size];
wxUint32* ptr = data;
// The code below is correct for 64-bit machines also.
// wxUint32* data = new wxUint32[size];
// wxUint32* ptr = data;
unsigned long* data = new unsigned long[size];
unsigned long* ptr = data;
for( i = 0; i < max; ++i )
{