X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/025f7d775c8366dec72258e0d9d83848203c4871..a70517e979955e17608126c9d8f7bf57879b5fbe:/src/msw/bmpbuttn.cpp diff --git a/src/msw/bmpbuttn.cpp b/src/msw/bmpbuttn.cpp index c4344f09d9..b05541c635 100644 --- a/src/msw/bmpbuttn.cpp +++ b/src/msw/bmpbuttn.cpp @@ -176,7 +176,7 @@ bool wxBitmapButton::Create(wxWindow *parent, wxWindowID id, msStyle, 0, 0, 0, 0, GetWinHwnd(parent), - (HMENU)m_windowId.GetValue(), + (HMENU)wxUIntToPtr(m_windowId.GetValue()), wxGetInstance(), NULL );