m_windowStyle = style;
m_font = parent->GetFont();
-#if 0 // gcc 2.95 doesn't like this apparently
- char* label1 = (label.IsNull() ? "" : (char*) (const char*) label);
-#endif
-
Widget parentWidget = (Widget) parent->GetClientWidget();
Widget borderWidget = NULL;
WXFontType fontType = m_font.GetFontType(XtDisplay(parentWidget));
- m_labelWidget = XtVaCreateManagedWidget ((char*) (const char*) name,
+ m_labelWidget = XtVaCreateManagedWidget (wxConstCast(name.c_str(), char),
xmLabelWidgetClass,
borderWidget ? borderWidget : parentWidget,
wxFont::GetFontTag(), fontType,
m_mainWidget = borderWidget ? borderWidget : m_labelWidget;
- SetCanAddEventHandler(TRUE);
AttachWidget (parent, m_mainWidget, (WXWidget) NULL, pos.x, pos.y, size.x, size.y);
ChangeBackgroundColour ();