Avoid pointer conversions to unsigned long in the samples.

This results in errors when using g++ Win64 builds as sizeof(long) <
sizeof(void*) in Win64.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2013-10-29 19:20:15 +00:00
parent 222b65c1b6
commit 6f6609d233
2 changed files with 17 additions and 17 deletions

View File

@@ -2058,7 +2058,7 @@ void MyFrame::OnIdle( wxIdleEvent& WXUNUSED(event) )
#endif
, s_windowFocus->GetName().c_str()
#ifdef __WXMSW__
, (unsigned int) s_windowFocus->GetHWND()
, (unsigned)wxPtrToUInt(s_windowFocus->GetHWND())
#endif
);
}