projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generate wxEVT_COMMAND_LIST_INSERT_ITEM (patch 747070)
[wxWidgets.git]
/
src
/
motif
/
radiobut.cpp
diff --git
a/src/motif/radiobut.cpp
b/src/motif/radiobut.cpp
index 87c20587a9b0fad998c6d30dcdceb77b52ef4d20..4cada5de0e5e206a1301ba89db3a488c4527a7af 100644
(file)
--- a/
src/motif/radiobut.cpp
+++ b/
src/motif/radiobut.cpp
@@
-160,7
+160,7
@@
void wxRadioButton::ChangeBackgroundColour()
wxWindow::ChangeBackgroundColour();
// What colour should this be?
wxWindow::ChangeBackgroundColour();
// What colour should this be?
- int selectPixel = wxBLACK->AllocColour(
wxGetDisplay(
));
+ int selectPixel = wxBLACK->AllocColour(
XtDisplay((Widget)m_mainWidget
));
XtVaSetValues ((Widget) GetMainWidget(),
XmNselectColor, selectPixel,
XtVaSetValues ((Widget) GetMainWidget(),
XmNselectColor, selectPixel,