]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/checkbox.cpp
[#1577388] - fix for scaling in wxImage.
[wxWidgets.git] / src / motif / checkbox.cpp
index f4b8b886441b849342427fcd8c889a6534f401ff..84dfd520a83abf871a7c0383eb10c98c8d28d6c1 100644 (file)
@@ -155,13 +155,13 @@ void wxCheckBox::ChangeBackgroundColour()
         NULL);
 
     wxColour colour = *wxBLACK;
-    int selectPixel = colour.AllocColour(XtDisplay((Widget)m_mainWidget));
+    WXPixel selectPixel = colour.AllocColour(XtDisplay((Widget)m_mainWidget));
 
     // Better to have the checkbox selection in black, or it's
     // hard to determine what state it is in.
     XtVaSetValues ((Widget) m_mainWidget,
            XmNselectColor, selectPixel,
-        NULL);
+           NULL);
 }
 
 void wxCheckBox::DoSet3StateValue(wxCheckBoxState state)