]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobox.cpp
recognize CP866 (bug 1497808)
[wxWidgets.git] / src / motif / radiobox.cpp
index aecbbea5f35b4089185462676d178dea2126bdfb..fa7aba0fa4a77eea18a14c5ca975e7a522093689 100644 (file)
@@ -351,7 +351,7 @@ void wxRadioBox::ChangeBackgroundColour()
     wxWindow::ChangeBackgroundColour();
 
     wxColour colour = *wxBLACK;
-    int selectPixel = colour.AllocColour(XtDisplay((Widget)m_mainWidget));
+    WXPixel selectPixel = colour.AllocColour(XtDisplay((Widget)m_mainWidget));
 
     for (unsigned int i = 0; i < m_noItems; i++)
     {