]>
Commit | Line | Data |
---|---|---|
99d80019 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/splitter.h | |
3 | // Purpose: Base header for wxSplitterWindow | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows Licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
34138703 JS |
12 | #ifndef _WX_SPLITTER_H_BASE_ |
13 | #define _WX_SPLITTER_H_BASE_ | |
c801d85f | 14 | |
3440463c VZ |
15 | #include "wx/event.h" |
16 | ||
b3208e11 VZ |
17 | // ---------------------------------------------------------------------------- |
18 | // wxSplitterWindow flags | |
19 | // ---------------------------------------------------------------------------- | |
20 | ||
52c14774 | 21 | #define wxSP_NOBORDER 0x0000 |
278f584f | 22 | #define wxSP_THIN_SASH 0x0000 // NB: the default is 3D sash |
b3208e11 VZ |
23 | #define wxSP_NOSASH 0x0010 |
24 | #define wxSP_PERMIT_UNSPLIT 0x0040 | |
25 | #define wxSP_LIVE_UPDATE 0x0080 | |
52c14774 VZ |
26 | #define wxSP_3DSASH 0x0100 |
27 | #define wxSP_3DBORDER 0x0200 | |
3c2544bb | 28 | #define wxSP_NO_XP_THEME 0x0400 |
52c14774 VZ |
29 | #define wxSP_BORDER wxSP_3DBORDER |
30 | #define wxSP_3D (wxSP_3DBORDER | wxSP_3DSASH) | |
b3208e11 | 31 | |
40ff126a WS |
32 | #if WXWIN_COMPATIBILITY_2_6 |
33 | // obsolete styles, don't do anything | |
34 | #define wxSP_SASH_AQUA 0 | |
35 | #define wxSP_FULLSASH 0 | |
36 | #endif // WXWIN_COMPATIBILITY_2_6 | |
b3208e11 | 37 | |
3c778901 VZ |
38 | class WXDLLIMPEXP_FWD_CORE wxSplitterEvent; |
39 | ||
40 | wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, wxSplitterEvent ) | |
41 | wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, wxSplitterEvent ) | |
42 | wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, wxSplitterEvent ) | |
43 | wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE, wxEVT_COMMAND_SPLITTER_UNSPLIT, wxSplitterEvent ) | |
2e4df4bf | 44 | |
c801d85f KB |
45 | #include "wx/generic/splitter.h" |
46 | ||
c058cafa | 47 | #endif // _WX_SPLITTER_H_BASE_ |