1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: Base header for wxSplitterWindow
4 // Author: Julian Smart
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows Licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_SPLITTER_H_BASE_
12 #define _WX_SPLITTER_H_BASE_
16 // ----------------------------------------------------------------------------
17 // wxSplitterWindow flags
18 // ----------------------------------------------------------------------------
20 #define wxSP_NOBORDER 0x0000
21 #define wxSP_THIN_SASH 0x0000 // NB: the default is 3D sash
22 #define wxSP_NOSASH 0x0010
23 #define wxSP_PERMIT_UNSPLIT 0x0040
24 #define wxSP_LIVE_UPDATE 0x0080
25 #define wxSP_3DSASH 0x0100
26 #define wxSP_3DBORDER 0x0200
27 #define wxSP_NO_XP_THEME 0x0400
28 #define wxSP_BORDER wxSP_3DBORDER
29 #define wxSP_3D (wxSP_3DBORDER | wxSP_3DSASH)
31 #if WXWIN_COMPATIBILITY_2_6
32 // obsolete styles, don't do anything
33 #define wxSP_SASH_AQUA 0
34 #define wxSP_FULLSASH 0
35 #endif // WXWIN_COMPATIBILITY_2_6
37 class WXDLLIMPEXP_FWD_CORE wxSplitterEvent
;
39 wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE
, wxEVT_SPLITTER_SASH_POS_CHANGED
, wxSplitterEvent
);
40 wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE
, wxEVT_SPLITTER_SASH_POS_CHANGING
, wxSplitterEvent
);
41 wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE
, wxEVT_SPLITTER_DOUBLECLICKED
, wxSplitterEvent
);
42 wxDECLARE_EXPORTED_EVENT( WXDLLIMPEXP_CORE
, wxEVT_SPLITTER_UNSPLIT
, wxSplitterEvent
);
44 #include "wx/generic/splitter.h"
46 #endif // _WX_SPLITTER_H_BASE_