ALBA
albaGUILab.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaGUILab
5 Authors: Silvano Imboden
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16#ifndef __albaGUILab_H__
17#define __albaGUILab_H__
18//----------------------------------------------------------------------------
19// Include:
20//----------------------------------------------------------------------------
21
22//----------------------------------------------------------------------------
23// albaGUILab :
28//----------------------------------------------------------------------------
29class albaGUILab : public wxStaticText
30{
31DECLARE_DYNAMIC_CLASS(albaGUILab)
32
33public:
35
36 albaGUILab(wxWindow *parent, wxWindowID id,
37 const wxString& label,
38 const wxPoint& pos = wxDefaultPosition,
39 const wxSize& size = wxDefaultSize,
40 long style = 0,
41 const wxString& name = wxStaticTextNameStr)
42 {
43 Create(parent, id, label, pos, size, style, name);
44 };
45
46protected:
48 void OnLeftMouseButtonDown(wxMouseEvent &event);
49DECLARE_EVENT_TABLE()
50};
51#endif // __albaGUILab_H__
albaGUILab is a Label that notify user-click using the normal wxEvents.
Definition: albaGUILab.h:30
void OnLeftMouseButtonDown(wxMouseEvent &event)
Notify the mouse click.
albaGUILab(wxWindow *parent, wxWindowID id, const wxString &label, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=0, const wxString &name=wxStaticTextNameStr)
Definition: albaGUILab.h:36