]> git.saurik.com Git - wxWidgets.git/blame - src/common/statlinecmn.cpp
Fix wxImage test compilation for MSVC6.
[wxWidgets.git] / src / common / statlinecmn.cpp
CommitLineData
cc3977bf
SC
1/////////////////////////////////////////////////////////////////////////////\r
2// Name: src/common/statlinecmn.cpp\r
3// Purpose: wxStaticLine common code\r
4// Author: Vadim Zeitlin\r
5// Created: 28.06.99\r
6// Version: $Id: statline.cpp 41054 2006-09-07 19:01:45Z ABX $\r
7// Copyright: (c) 1998 Vadim Zeitlin\r
8// Licence: wxWindows licence\r
9/////////////////////////////////////////////////////////////////////////////\r
10\r
11// ============================================================================\r
12// declarations\r
13// ============================================================================\r
14\r
15// ----------------------------------------------------------------------------\r
16// headers\r
17// ----------------------------------------------------------------------------\r
18\r
19// For compilers that support precompilation, includes "wx.h".\r
20#include "wx/wxprec.h"\r
21\r
22#ifdef __BORLANDC__\r
23 #pragma hdrstop\r
24#endif\r
25\r
26#include "wx/statline.h"\r
27\r
28#if wxUSE_STATLINE\r
29\r
30// ----------------------------------------------------------------------------\r
31// XTI\r
32// ----------------------------------------------------------------------------\r
33\r
34wxDEFINE_FLAGS( wxStaticLineStyle )\r
35wxBEGIN_FLAGS( wxStaticLineStyle )\r
36 // new style border flags, we put them first to\r
37 // use them for streaming out\r
38 wxFLAGS_MEMBER(wxBORDER_SIMPLE)\r
39 wxFLAGS_MEMBER(wxBORDER_SUNKEN)\r
40 wxFLAGS_MEMBER(wxBORDER_DOUBLE)\r
41 wxFLAGS_MEMBER(wxBORDER_RAISED)\r
42 wxFLAGS_MEMBER(wxBORDER_STATIC)\r
43 wxFLAGS_MEMBER(wxBORDER_NONE)\r
44\r
45 // old style border flags\r
46 wxFLAGS_MEMBER(wxSIMPLE_BORDER)\r
47 wxFLAGS_MEMBER(wxSUNKEN_BORDER)\r
48 wxFLAGS_MEMBER(wxDOUBLE_BORDER)\r
49 wxFLAGS_MEMBER(wxRAISED_BORDER)\r
50 wxFLAGS_MEMBER(wxSTATIC_BORDER)\r
51 wxFLAGS_MEMBER(wxBORDER)\r
52\r
53 // standard window styles\r
54 wxFLAGS_MEMBER(wxTAB_TRAVERSAL)\r
55 wxFLAGS_MEMBER(wxCLIP_CHILDREN)\r
56 wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)\r
57 wxFLAGS_MEMBER(wxWANTS_CHARS)\r
58 wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)\r
59 wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )\r
60 wxFLAGS_MEMBER(wxVSCROLL)\r
61 wxFLAGS_MEMBER(wxHSCROLL)\r
62\r
63 wxFLAGS_MEMBER(wxLI_HORIZONTAL)\r
64 wxFLAGS_MEMBER(wxLI_VERTICAL)\r
65wxEND_FLAGS( wxStaticLineStyle )\r
66\r
67wxIMPLEMENT_DYNAMIC_CLASS_XTI(wxStaticLine, wxControl, "wx/statline.h")\r
68\r
69wxBEGIN_PROPERTIES_TABLE(wxStaticLine)\r
70 wxPROPERTY_FLAGS( WindowStyle, wxStaticLineStyle, long, SetWindowStyleFlag, \\r
71 GetWindowStyleFlag, wxEMPTY_PARAMETER_VALUE, 0 /*flags*/, \\r
72 wxT("Helpstring"), wxT("group")) // style\r
73wxEND_PROPERTIES_TABLE()\r
74\r
75wxEMPTY_HANDLERS_TABLE(wxStaticLine)\r
76\r
77wxCONSTRUCTOR_5( wxStaticLine, wxWindow*, Parent, wxWindowID, Id, \\r
78 wxPoint, Position, wxSize, Size, long, WindowStyle)\r
79\r
80#endif // wxUSE_STATLINE\r