X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..c4b4f847e20cf495b55ddd67ff70ad95239b5aa3:/src/motif/bmpbuttn.cpp diff --git a/src/motif/bmpbuttn.cpp b/src/motif/bmpbuttn.cpp index de320bafb0..7a2c68e90e 100644 --- a/src/motif/bmpbuttn.cpp +++ b/src/motif/bmpbuttn.cpp @@ -152,7 +152,7 @@ void wxBitmapButton::DoSetBitmap() // in the current widget background colour. if (m_bmpNormalOriginal.GetMask()) { - int backgroundPixel; + WXPixel backgroundPixel; XtVaGetValues((Widget) m_mainWidget, XmNbackground, &backgroundPixel, NULL); @@ -177,7 +177,7 @@ void wxBitmapButton::DoSetBitmap() { if (m_bmpDisabledOriginal.GetMask()) { - int backgroundPixel; + WXPixel backgroundPixel; XtVaGetValues((Widget) m_mainWidget, XmNbackground, &backgroundPixel, NULL); @@ -202,7 +202,7 @@ void wxBitmapButton::DoSetBitmap() { if (m_bmpSelectedOriginal.GetMask()) { - int backgroundPixel; + WXPixel backgroundPixel; XtVaGetValues((Widget) m_mainWidget, XmNarmColor, &backgroundPixel, NULL);