1 /////////////////////////////////////////////////////////////////////////////
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
9 // Copyright: (c) 2000 Johnny C. Norris II
10 // License: Rocketeer license
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WX_TOGGLEBUTTON_H_BASE_
14 #define _WX_TOGGLEBUTTON_H_BASE_
21 #include "wx/control.h" // base class
23 BEGIN_DECLARE_EVENT_TYPES()
24 DECLARE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
, 19)
25 END_DECLARE_EVENT_TYPES()
27 #define EVT_TOGGLEBUTTON(id, fn) DECLARE_EVENT_TABLE_ENTRY( wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, id, -1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ),
29 #if defined(__WXMSW__)
30 #include "wx/msw/tglbtn.h"
31 #elif defined(__WXGTK__)
32 #include "wx/gtk/tglbtn.h"
34 # elif defined(__WXMOTIF__)
35 # include "wx/motif/tglbtn.h"
36 # elif defined(__WXQT__)
37 # include "wx/qt/tglbtn.h"
38 # elif defined(__WXMAC__)
39 # include "wx/mac/tglbtn.h"
40 # elif defined(__WXPM__)
41 # include "wx/os2/tglbtn.h"
42 # elif defined(__WXSTUBS__)
43 # include "wx/stubs/tglbtn.h"
47 #endif // wxUSE_TOGGLEBTN
49 #endif // _WX_TOGGLEBUTTON_H_BASE_