projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move more socket functions common to Winsock and BSD implementations to common code
[wxWidgets.git]
/
src
/
motif
/
radiobut.cpp
diff --git
a/src/motif/radiobut.cpp
b/src/motif/radiobut.cpp
index 00ec024178593a80fc0c7d93e4bfc54fd799f098..5c38eaf30d67c00913d61d272037ebc4b066c01b 100644
(file)
--- a/
src/motif/radiobut.cpp
+++ b/
src/motif/radiobut.cpp
@@
-12,10
+12,6
@@
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#ifdef __VMS
-#define XtDisplay XTDISPLAY
-#endif
-
#include "wx/radiobut.h"
#ifndef WX_PRECOMP
#include "wx/radiobut.h"
#ifndef WX_PRECOMP
@@
-51,6
+47,7
@@
bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
{
if( !CreateControl( parent, id, pos, size, style, validator, name ) )
return false;
{
if( !CreateControl( parent, id, pos, size, style, validator, name ) )
return false;
+ PreCreation();
Widget parentWidget = (Widget) parent->GetClientWidget();
Display* dpy = XtDisplay(parentWidget);
Widget parentWidget = (Widget) parent->GetClientWidget();
Display* dpy = XtDisplay(parentWidget);
@@
-80,11
+77,10
@@
bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
XtManageChild (radioButtonWidget);
XtManageChild (radioButtonWidget);
+ PostCreation();
AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
pos.x, pos.y, size.x, size.y);
AttachWidget (parent, m_mainWidget, (WXWidget) NULL,
pos.x, pos.y, size.x, size.y);
- ChangeBackgroundColour();
-
//copied from mac/radiobut.cpp (from here till "return true;")
m_cycle = this ;
//copied from mac/radiobut.cpp (from here till "return true;")
m_cycle = this ;