]> git.saurik.com Git - wxWidgets.git/blame - include/wx/splitter.h
added adjustOrigin parameter to bounds calculation
[wxWidgets.git] / include / wx / splitter.h
CommitLineData
34138703
JS
1#ifndef _WX_SPLITTER_H_BASE_
2#define _WX_SPLITTER_H_BASE_
c801d85f 3
3440463c
VZ
4#include "wx/event.h"
5
b3208e11
VZ
6// ----------------------------------------------------------------------------
7// wxSplitterWindow flags
8// ----------------------------------------------------------------------------
9
52c14774 10#define wxSP_NOBORDER 0x0000
b3208e11
VZ
11#define wxSP_NOSASH 0x0010
12#define wxSP_PERMIT_UNSPLIT 0x0040
13#define wxSP_LIVE_UPDATE 0x0080
52c14774
VZ
14#define wxSP_3DSASH 0x0100
15#define wxSP_3DBORDER 0x0200
3c2544bb 16#define wxSP_NO_XP_THEME 0x0400
52c14774
VZ
17#define wxSP_BORDER wxSP_3DBORDER
18#define wxSP_3D (wxSP_3DBORDER | wxSP_3DSASH)
b3208e11
VZ
19
20// obsolete styles, don't do anything
b3208e11 21#define wxSP_SASH_AQUA 0
b3208e11 22#define wxSP_FULLSASH 0
b3208e11 23
2e4df4bf
VZ
24BEGIN_DECLARE_EVENT_TYPES()
25 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 850)
26 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 851)
27 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 852)
28 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_UNSPLIT, 853)
29END_DECLARE_EVENT_TYPES()
30
c801d85f
KB
31#include "wx/generic/splitter.h"
32
33#endif
34138703 34 // _WX_SPLITTER_H_BASE_