/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_CONTROL_H_BASE_
/////////////////////////////////////////////////////////////////////////////
#ifndef _WX_CONTROL_H_BASE_
// ----------------------------------------------------------------------------
// wxControl is the base class for all controls
// ----------------------------------------------------------------------------
// wxControl is the base class for all controls
// Create() function adds the validator parameter
bool Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
// Create() function adds the validator parameter
bool Create(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
// get the control alignment (left/right/centre, top/bottom/centre)
int GetAlignment() const { return m_windowStyle & wxALIGN_MASK; }
// get the control alignment (left/right/centre, top/bottom/centre)
int GetAlignment() const { return m_windowStyle & wxALIGN_MASK; }
protected:
// creates the control (calls wxWindowBase::CreateBase inside) and adds it
// to the list of parents children
protected:
// creates the control (calls wxWindowBase::CreateBase inside) and adds it
// to the list of parents children