]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/listctrl.cpp
adding missing cast
[wxWidgets.git] / src / palmos / listctrl.cpp
Content-type: text/html ]> git.saurik.com Git - wxWidgets.git/blame - src/palmos/listctrl.cpp


500 - Internal Server Error

Malformed UTF-8 character (fatal) at /usr/lib/x86_64-linux-gnu/perl5/5.40/HTML/Entities.pm line 485, <$fd> line 271.
CommitLineData
ffecfa5a
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: src/palmos/listctrl.cpp
3// Purpose: wxListCtrl
e2731512 4// Author: William Osborne - minimal working wxPalmOS port
ffecfa5a
JS
5// Modified by:
6// Created: 10/13/04
52f2ad08 7// RCS-ID: $Id$
ffecfa5a
JS
8// Copyright: (c) William Osborne
9// Licence: wxWindows licence
10/////////////////////////////////////////////////////////////////////////////
11
12// ============================================================================
13// declarations
14// ============================================================================
15
16// ----------------------------------------------------------------------------
17// headers
18// ----------------------------------------------------------------------------
19
ffecfa5a
JS
20// For compilers that support precompilation, includes "wx.h".
21#include "wx/wxprec.h"
22
23#ifdef __BORLANDC__
24 #pragma hdrstop
25#endif
26
52f2ad08 27#if wxUSE_LISTCTRL
ffecfa5a
JS
28
29#ifndef WX_PRECOMP
30 #include "wx/app.h"
31 #include "wx/intl.h"
32 #include "wx/log.h"
33 #include "wx/settings.h"
ed4b0fdc 34 #include "wx/dcclient.h"
fec9cc08 35 #include "wx/textctrl.h"
ffecfa5a
JS
36#endif
37
ffecfa5a
JS
38#include "wx/imaglist.h"
39#include "wx/listctrl.h"
ffecfa5a 40
ffecfa5a
JS
41#if wxUSE_EXTENDED_RTTI
42WX_DEFINE_FLAGS( wxListCtrlStyle )
43
44wxBEGIN_FLAGS( wxListCtrlStyle )
45 // new style border flags, we put them first to
46 // use them for streaming out
47 wxFLAGS_MEMBER(wxBORDER_SIMPLE)
48 wxFLAGS_MEMBER(wxBORDER_SUNKEN)
49 wxFLAGS_MEMBER(wxBORDER_DOUBLE)
50 wxFLAGS_MEMBER(wxBORDER_RAISED)
51 wxFLAGS_MEMBER(wxBORDER_STATIC)
52 wxFLAGS_MEMBER(wxBORDER_NONE)
5445a26c 53
ffecfa5a
JS
54 // old style border flags
55 wxFLAGS_MEMBER(wxSIMPLE_BORDER)
56 wxFLAGS_MEMBER(wxSUNKEN_BORDER)
57 wxFLAGS_MEMBER(wxDOUBLE_BORDER)
58 wxFLAGS_MEMBER(wxRAISED_BORDER)
59 wxFLAGS_MEMBER(wxSTATIC_BORDER)
60 wxFLAGS_MEMBER(wxBORDER)
61
62 // standard window styles
63 wxFLAGS_MEMBER(wxTAB_TRAVERSAL)
64 wxFLAGS_MEMBER(wxCLIP_CHILDREN)
65 wxFLAGS_MEMBER(wxTRANSPARENT_WINDOW)
66 wxFLAGS_MEMBER(wxWANTS_CHARS)
67 wxFLAGS_MEMBER(wxFULL_REPAINT_ON_RESIZE)
68 wxFLAGS_MEMBER(wxALWAYS_SHOW_SB )
69 wxFLAGS_MEMBER(wxVSCROLL)
70 wxFLAGS_MEMBER(wxHSCROLL)
71
72 wxFLAGS_MEMBER(wxLC_LIST)
73 wxFLAGS_MEMBER(wxLC_REPORT)
74 wxFLAGS_MEMBER(wxLC_ICON)
75 wxFLAGS_MEMBER(wxLC_SMALL_ICON)
76 wxFLAGS_MEMBER(wxLC_ALIGN_TOP)
77 wxFLAGS_MEMBER(wxLC_ALIGN_LEFT)
78 wxFLAGS_MEMBER(wxLC_AUTOARRANGE)
79 wxFLAGS_MEMBER(wxLC_USER_TEXT)
80 wxFLAGS_MEMBER(wxLC_EDIT_LABELS)
81 wxFLAGS_MEMBER(wxLC_NO_HEADER)
82 wxFLAGS_MEMBER(wxLC_SINGLE_SEL)
83 wxFLAGS_MEMBER(wxLC_SORT_ASCENDING)
84 wxFLAGS_MEMBER(wxLC_SORT_DESCENDING)
85 wxFLAGS_MEMBER(wxLC_VIRTUAL)
86
87wxEND_FLAGS( wxListCtrlStyle )
88
89IMPLEMENT_DYNAMIC_CLASS_XTI(wxListCtrl, wxControl,"wx/listctrl.h")
90
91wxBEGIN_PROPERTIES_TABLE(wxListCtrl)
5445a26c 92 wxEVENT_PROPERTY( TextUpdated , wxEVT_COMMAND_TEXT_UPDATED , wxCommandEvent )
ffecfa5a
JS
93
94 wxPROPERTY_FLAGS( WindowStyle , wxListCtrlStyle , long , SetWindowStyleFlag , GetWindowStyleFlag , EMPTY_MACROVALUE , 0 /*flags*/ , wxT("Helpstring") , wxT("group")) // style
95wxEND_PROPERTIES_TABLE()
96
97wxBEGIN_HANDLERS_TABLE(wxListCtrl)
98wxEND_HANDLERS_TABLE()
99
5445a26c 100wxCONSTRUCTOR_5( wxListCtrl , wxWindow* , Parent , wxWindowID , Id , wxPoint , Position , wxSize , Size , long , WindowStyle )
ffecfa5a
JS
101
102/*
103