]> git.saurik.com Git - wxWidgets.git/blame_incremental - include/wx/splitter.h
don't pass NULL pointer to printf(), this crashes Solaris printf
[wxWidgets.git] / include / wx / splitter.h
... / ...
CommitLineData
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
12#ifndef _WX_SPLITTER_H_BASE_
13#define _WX_SPLITTER_H_BASE_
14
15#include "wx/event.h"
16
17// ----------------------------------------------------------------------------
18// wxSplitterWindow flags
19// ----------------------------------------------------------------------------
20
21#define wxSP_NOBORDER 0x0000
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)
30
31// obsolete styles, don't do anything
32#define wxSP_SASH_AQUA 0
33#define wxSP_FULLSASH 0
34
35BEGIN_DECLARE_EVENT_TYPES()
36 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 850)
37 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 851)
38 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 852)
39 DECLARE_EVENT_TYPE(wxEVT_COMMAND_SPLITTER_UNSPLIT, 853)
40END_DECLARE_EVENT_TYPES()
41
42#include "wx/generic/splitter.h"
43
44#endif
45 // _WX_SPLITTER_H_BASE_