/////////////////////////////////////////////////////////////////////////////
-// Name: statbox.cpp
+// Name: src/motif/statbox.cpp
// Purpose: wxStaticBox
// Author: Julian Smart
// Modified by:
#define XtDisplay XTDISPLAY
#endif
-#include "wx/defs.h"
-
#include "wx/statbox.h"
-#include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/utils.h"
+#endif
#ifdef __VMS__
#pragma message disable nosimpint
// XmNshadowType, XmSHADOW_IN,
NULL);
- bool hasLabel = (!label.IsNull() && !label.IsEmpty()) ;
- if (hasLabel)
+ if (!label.empty())
{
wxString label1(wxStripMenuCodes(label));
wxXmString text(label1);
#if wxCHECK_MOTIF_VERSION( 2, 0 )
XmNframeChildType, XmFRAME_TITLE_CHILD,
#else
- XmNchildType, XmFRAME_TITLE_CHILD,
+ XmNchildType, XmFRAME_TITLE_CHILD,
#endif
NULL);
}
-
+
AttachWidget (parent, m_mainWidget, NULL, pos.x, pos.y, size.x, size.y);
ChangeBackgroundColour();