25#include <wx/control.h>
26#include <wx/stattext.h>
UNIT_BINDER * m_unitBinder
void ShowError(const wxString &aMessage)
Show the error icon inside the right end of this field, with a tooltip listing the error.
wxStaticText * GetLabel() const
void CreateLabels()
Create and associate labels with this field.
bool TransferFromWindow()
Transfer data from the control to the model.
bool IsShowingError() const
DRC_RE_OVERLAY_FIELD(wxWindow *aParent, const wxString &aFieldId, wxControl *aControl, const DRC_RE_FIELD_POSITION &aPosition)
Construct an overlay field wrapping an existing control.
bool TransferToWindow()
Transfer data from the model to the control.
DRC_RE_FIELD_POSITION m_position
void ClearError()
Hide the error icon.
FIELD_WARNING_ICON * m_errorIcon
Owned by the control's parent window, created on first error.
wxControl * GetControl() const
wxStaticText * m_prefixLabel
A warning icon drawn inside the right edge of a field, left of its dropdown button when it has one,...
Specifies the position and size of a field overlaid on a constraint bitmap.