]>
Commit | Line | Data |
---|---|---|
1db8dc4a VZ |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/tglbtn.h | |
3 | // Purpose: This dummy header includes the proper header file for the | |
4 | // system we're compiling under. | |
5 | // Author: John Norris, minor changes by Axel Schlueter | |
6 | // Modified by: | |
7 | // Created: 08.02.01 | |
8 | // RCS-ID: $Id$ | |
9 | // Copyright: (c) 2000 Johnny C. Norris II | |
10 | // License: Rocketeer license | |
11 | ///////////////////////////////////////////////////////////////////////////// | |
12 | ||
13 | #ifndef _WX_TOGGLEBUTTON_H_BASE_ | |
14 | #define _WX_TOGGLEBUTTON_H_BASE_ | |
15 | ||
16 | #include "wx/defs.h" | |
17 | ||
18 | #if wxUSE_TOGGLEBTN | |
19 | ||
20 | #include "wx/event.h" | |
21 | #include "wx/control.h" // base class | |
22 | ||
23 | BEGIN_DECLARE_EVENT_TYPES() | |
24 | DECLARE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 19) | |
25 | END_DECLARE_EVENT_TYPES() | |
26 | ||
3a818b15 | 27 | #define EVT_TOGGLEBUTTON(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, id, -1, (wxObjectEventFunction) (wxEventFunction) wxStaticCastEvent( wxCommandEventFunction, & fn ), (wxObject *) NULL ), |
1db8dc4a VZ |
28 | |
29 | #if defined(__WXMSW__) | |
30 | #include "wx/msw/tglbtn.h" | |
31 | #elif defined(__WXGTK__) | |
32 | #include "wx/gtk/tglbtn.h" | |
1db8dc4a | 33 | # elif defined(__WXMOTIF__) |
08e5319b | 34 | #include "wx/motif/tglbtn.h" |
eabe6af8 SC |
35 | #elif defined(__WXMAC__) |
36 | #include "wx/mac/tglbtn.h" | |
08e5319b | 37 | /* |
1db8dc4a VZ |
38 | # elif defined(__WXPM__) |
39 | # include "wx/os2/tglbtn.h" | |
1db8dc4a VZ |
40 | */ |
41 | #endif | |
42 | ||
43 | #endif // wxUSE_TOGGLEBTN | |
44 | ||
45 | #endif // _WX_TOGGLEBUTTON_H_BASE_ | |
46 |