/////////////////////////////////////////////////////////////////////////////
-// Name: stattext.cpp
+// Name: src/motif/stattext.cpp
// Purpose: wxStaticText
// Author: Julian Smart
// Modified by:
#define XtDisplay XTDISPLAY
#endif
-#include "wx/defs.h"
-
#if wxUSE_STATTEXT
#include "wx/stattext.h"
Widget borderWidget =
(Widget) wxCreateBorderWidget( (WXWidget)parentWidget, style );
- wxXmString text( wxStripMenuCodes( label ) );
+ wxXmString text( GetLabelText( label ) );
m_labelWidget =
XtVaCreateManagedWidget (wxConstCast(name.c_str(), char),
void wxStaticText::SetLabel(const wxString& label)
{
- wxXmString label_str(wxStripMenuCodes(label));
+ wxXmString label_str(GetLabelText(label));
// This variable means we don't need so many casts later.
Widget widget = (Widget) m_labelWidget;