]> git.saurik.com Git - wxWidgets.git/blob - include/wx/splitter.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / splitter.h
1 #ifndef _WX_SPLITTER_H_BASE_
2 #define _WX_SPLITTER_H_BASE_
3
4 #include "wx/event.h"
5
6 // ----------------------------------------------------------------------------
7 // wxSplitterWindow flags
8 // ----------------------------------------------------------------------------
9
10 #define wxSP_NOBORDER 0x0000
11 #define wxSP_NOSASH 0x0010
12 #define wxSP_PERMIT_UNSPLIT 0x0040
13 #define wxSP_LIVE_UPDATE 0x0080
14 #define wxSP_3DSASH 0x0100
15 #define wxSP_3DBORDER 0x0200
16 #define wxSP_BORDER wxSP_3DBORDER
17 #define wxSP_3D (wxSP_3DBORDER | wxSP_3DSASH)
18
19 // obsolete styles, don't do anything
20 #define wxSP_SASH_AQUA 0
21 #define wxSP_FULLSASH 0
22
23 BEGIN_DECLARE_EVENT_TYPES()
24 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 850)
25 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 851)
26 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 852)
27 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_UNSPLIT, 853)
28 END_DECLARE_EVENT_TYPES()
29
30 #include "wx/generic/splitter.h"
31
32 #endif
33 // _WX_SPLITTER_H_BASE_