]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
removed empty and unused CalculateScrollbar() method
[wxWidgets.git] / src / motif / radiobut.cpp
index c0886ce554b1e6e615de63f28bd9b2c81d7c8a96..00ec024178593a80fc0c7d93e4bfc54fd799f098 100644 (file)
@@ -55,7 +55,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
     Widget parentWidget = (Widget) parent->GetClientWidget();
     Display* dpy = XtDisplay(parentWidget);
 
-    wxString label1(wxStripMenuCodes(label));
+    wxString label1(GetLabelText(label));
 
     wxXmString text( label1 );
 
@@ -142,7 +142,7 @@ void wxRadioButton::ChangeBackgroundColour()
 
     // What colour should this be?
     wxColour colour = *wxBLACK;
-    int selectPixel = colour.AllocColour(XtDisplay((Widget)m_mainWidget));
+    WXPixel selectPixel = colour.AllocColour(XtDisplay((Widget)m_mainWidget));
 
     XtVaSetValues ((Widget) GetMainWidget(),
           XmNselectColor, selectPixel,