#pragma message enable nosimpint
#endif
+
+#ifndef WX_PRECOMP
+ #include "wx/toplevel.h"
+#endif
+
#include "wx/stockitem.h"
#include "wx/motif/private.h"
#include "wx/sysopt.h"
if( !CreateControl( parent, id, pos, size, style, validator, name ) )
return false;
- wxString label1(wxStripMenuCodes(label));
- wxXmString text( label1 );
+ wxXmString text( GetLabelText(label) );
Widget parentWidget = (Widget) parent->GetClientWidget();