// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "stattext.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#endif
#include "wx/defs.h"
+
+#if wxUSE_STATTEXT
+
#include "wx/stattext.h"
#ifdef __VMS__
#include "wx/motif/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl);
+IMPLEMENT_DYNAMIC_CLASS(wxStaticText, wxControl)
bool wxStaticText::Create(wxWindow *parent, wxWindowID id,
const wxString& label,
XtVaSetValues(widget,
XmNwidth, width,
XmNheight, height,
- NULL);
+ NULL);
XtManageChild(widget);
}
else
NULL);
}
}
+
+#endif // wxUSE_STATTEXT