1 /////////////////////////////////////////////////////////////////////////////
2 // Name: cpp/controls.h
3 // Purpose: c++ wrappers for wxControl-derived classes
4 // Author: Mattia Barbon
7 // RCS-ID: $Id: controls.h 2057 2007-06-18 23:03:00Z mbarbon $
8 // Copyright: (c) 2000-2004, 2006 Mattia Barbon
9 // Licence: This program is free software; you can redistribute it and/or
10 // modify it under the same terms as Perl itself
11 /////////////////////////////////////////////////////////////////////////////
13 #ifndef _WXPERL_CONTROLS_H
14 #define _WXPERL_CONTROLS_H
16 class wxPliListCtrl:public wxListCtrl
18 WXPLI_DECLARE_DYNAMIC_CLASS( wxPliListCtrl );
19 WXPLI_DECLARE_V_CBACK();
21 WXPLI_DEFAULT_CONSTRUCTOR( wxPliListCtrl, "Wx::ListCtrl", true );
22 WXPLI_CONSTRUCTOR_7( wxPliListCtrl, "Wx::ListCtrl", true,
23 wxWindow*, wxWindowID, const wxPoint&,
24 const wxSize&, long, const wxValidator&,
27 wxString OnGetItemText( long item, long column ) const;
28 int OnGetItemImage( long item ) const;
29 wxListItemAttr* OnGetItemAttr( long item ) const;
30 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
31 DEC_V_CBACK_INT__LONG_LONG_const( OnGetItemColumnImage );
35 class wxPliTreeCtrl:public wxTreeCtrl
37 WXPLI_DECLARE_DYNAMIC_CLASS( wxPliTreeCtrl );
38 WXPLI_DECLARE_V_CBACK();
40 WXPLI_DEFAULT_CONSTRUCTOR( wxPliTreeCtrl, "Wx::TreeCtrl", true );
41 WXPLI_CONSTRUCTOR_7( wxPliTreeCtrl, "Wx::TreeCtrl", true,
42 wxWindow*, wxWindowID, const wxPoint&,
43 const wxSize&, long, const wxValidator&,
46 int OnCompareItems( const wxTreeItemId& item1,
47 const wxTreeItemId& item2 );
50 #endif // _WXPERL_CONTROLS_H
52 // Local variables: //