]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/splitter.h
Fixed to work with the new wxMacControl system.
[wxWidgets.git] / include / wx / splitter.h
... / ...
CommitLineData
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_NO_XP_THEME 0x0400
17#define wxSP_BORDER wxSP_3DBORDER
18#define wxSP_3D (wxSP_3DBORDER | wxSP_3DSASH)
19
20// obsolete styles, don't do anything
21#define wxSP_SASH_AQUA 0
22#define wxSP_FULLSASH 0
23
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
31#include "wx/generic/splitter.h"
32
33#endif
34 // _WX_SPLITTER_H_BASE_