]> git.saurik.com Git - wxWidgets.git/blame - include/wx/tglbtn.h
wx printf() implementation bug fixes ('%' handling, thread safety, ...) and optimisat...
[wxWidgets.git] / include / wx / tglbtn.h
CommitLineData
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
99d80019 10// License: wxWindows Licence
1db8dc4a
VZ
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
23BEGIN_DECLARE_EVENT_TYPES()
24 DECLARE_EVENT_TYPE(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 19)
25END_DECLARE_EVENT_TYPES()
26
7fa03f04
VZ
27#define EVT_TOGGLEBUTTON(id, fn) \
28 wx__DECLARE_EVT1(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, id, wxCommandEventHandler(fn))
1db8dc4a 29
43be3c33
JS
30#if defined(__WXUNIVERSAL__)
31 #include "wx/univ/tglbtn.h"
32#elif defined(__WXMSW__)
1db8dc4a 33 #include "wx/msw/tglbtn.h"
1be7a35c 34#elif defined(__WXGTK20__)
1db8dc4a 35 #include "wx/gtk/tglbtn.h"
1be7a35c
MR
36#elif defined(__WXGTK__)
37 #include "wx/gtk1/tglbtn.h"
1db8dc4a 38# elif defined(__WXMOTIF__)
08e5319b 39 #include "wx/motif/tglbtn.h"
eabe6af8
SC
40#elif defined(__WXMAC__)
41 #include "wx/mac/tglbtn.h"
bdb54365
WS
42#elif defined(__WXPALMOS__)
43 #include "wx/palmos/tglbtn.h"
e8344916
DW
44#elif defined(__WXPM__)
45 #include "wx/os2/tglbtn.h"
1db8dc4a
VZ
46#endif
47
48#endif // wxUSE_TOGGLEBTN
49
50#endif // _WX_TOGGLEBUTTON_H_BASE_
51