]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/pen.cpp
typofix
[wxWidgets.git] / src / msw / pen.cpp
index 9df28c6731a3099d7deebfe97d81391690c26000..711ca1b644d10b58f416f8fbfa6566a37923c93e 100644 (file)
@@ -338,7 +338,7 @@ bool wxPenRefData::Alloc()
        {
            case wxSTIPPLE:
                lb.lbStyle = BS_PATTERN;
-               lb.lbHatch = (LONG)m_stipple.GetHBITMAP();
+               lb.lbHatch = wxPtrToUInt(m_stipple.GetHBITMAP());
                break;
 
            case wxBDIAGONAL_HATCH: