1 #############################################################################
2 ## Name: XS/ItemContainerImmutable.xsp
3 ## Purpose: XS for Wx::ItemContainerImmutable
4 ## Author: Mattia Barbon
7 ## RCS-ID: $Id: ItemContainerImmutable.xsp 2163 2007-08-15 22:46:51Z mbarbon $
8 ## Copyright: (c) 2007 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 #############################################################################
15 %typemap{wxItemContainerImmutable*}{simple};
17 %name{Wx::ItemContainerImmutable} class wxItemContainerImmutable {
18 unsigned int GetCount() const;
20 wxString GetString( unsigned int n );
24 wxItemContainerImmutable::GetStrings()
27 wxPli_stringarray_push( aTHX_ THIS->GetStrings() );
31 void SetString( unsigned int n, const wxString& s );
35 wxItemContainerImmutable::FindString( ... )
38 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
39 MATCH_REDISP( wxPliOvl_s_b, FindStringCase )
41 MATCH_REDISP( wxPliOvl_s, FindStringNoCase )
42 END_OVERLOAD( Wx::ItemContainerImmutable::FindString )
45 %name{FindStringNoCase} int FindString( const wxString& s ) const;
46 #if WXPERL_W_VERSION_GE( 2, 7, 2 )
47 %name{FindStringCase} int FindString( const wxString& s, bool bCase = false ) const;
50 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) && !defined(WXPERL_IN_COMBOBOX)
51 void SetSelection( int n );
53 int GetSelection() const;
54 #if WXPERL_W_VERSION_GE( 2, 6, 0 ) || defined(WXPERL_IN_COMBOBOX)
55 bool SetStringSelection( const wxString& s );
57 wxString GetStringSelection() const;