]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
Added (untested) support for sub-locales.
[wxWidgets.git] / src / motif / radiobut.cpp
index cea6c974d01f47a06d991c214f7f6ff98c4f99a3..7fe7f99d31aef3bf846d2a5dcead9f383f2d3e19 100644 (file)
@@ -121,6 +121,13 @@ void wxRadioButton::ChangeFont(bool keepOriginalSize)
 void wxRadioButton::ChangeBackgroundColour()
 {
     wxWindow::ChangeBackgroundColour();
+
+    // What colour should this be?
+    int selectPixel = wxBLACK->AllocColour(wxGetDisplay());
+
+    XtVaSetValues ((Widget) GetMainWidget(),
+          XmNselectColor, selectPixel,
+          NULL);
 }
 
 void wxRadioButton::ChangeForegroundColour()