#include <toolbarcust/toolbarcust.h>
Public Member Functions | |
wxCustomisableToolBar () | |
wxCustomisableToolBar (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, long style=wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER|wxTB_NOALIGN) | |
~wxCustomisableToolBar () | |
bool | Create (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &sz=wxDefaultSize, long style=wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER|wxTB_NOALIGN) |
void | Init () |
void | SetCustomisationName (const wxString &name) |
const wxString & | GetCustomisationName () const |
void | SetExpandToFitParent (bool expand) |
bool | GetExpandToFitParent () const |
void | OnRightDown (wxMouseEvent &event) |
void | OnCustomise (wxCommandEvent &event) |
virtual void | DoSetSize (int x, int y, int width, int height, int sizeFlags=wxSIZE_AUTO) |
virtual void | OnInternalIdle () |
Static Public Member Functions | |
static void | CleanUpMenu () |
Public Attributes | |
wxString | m_customisationName |
bool | m_expandToFitParent |
Static Public Attributes | |
static wxMenu * | sm_menu = NULL |
static long | sm_commandId = -1 |
wxCustomisableToolBar::wxCustomisableToolBar | ( | ) | [inline] |
wxCustomisableToolBar::wxCustomisableToolBar | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | sz = wxDefaultSize , |
|||
long | style = wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER|wxTB_NOALIGN | |||
) |
wxCustomisableToolBar::~wxCustomisableToolBar | ( | ) |
void wxCustomisableToolBar::CleanUpMenu | ( | ) | [static] |
bool wxCustomisableToolBar::Create | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxPoint & | pos = wxDefaultPosition , |
|||
const wxSize & | sz = wxDefaultSize , |
|||
long | style = wxTB_FLAT|wxTB_HORIZONTAL|wxTB_NODIVIDER|wxTB_NOALIGN | |||
) |
void wxCustomisableToolBar::DoSetSize | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height, | |||
int | sizeFlags = wxSIZE_AUTO | |||
) | [virtual] |
const wxString& wxCustomisableToolBar::GetCustomisationName | ( | ) | const [inline] |
bool wxCustomisableToolBar::GetExpandToFitParent | ( | ) | const [inline] |
void wxCustomisableToolBar::Init | ( | ) |
void wxCustomisableToolBar::OnCustomise | ( | wxCommandEvent & | event | ) |
void wxCustomisableToolBar::OnInternalIdle | ( | ) | [virtual] |
void wxCustomisableToolBar::OnRightDown | ( | wxMouseEvent & | event | ) |
void wxCustomisableToolBar::SetCustomisationName | ( | const wxString & | name | ) | [inline] |
void wxCustomisableToolBar::SetExpandToFitParent | ( | bool | expand | ) | [inline] |
long wxCustomisableToolBar::sm_commandId = -1 [static] |
wxMenu * wxCustomisableToolBar::sm_menu = NULL [static] |