Add libwx-perl
[pkg-perl] / deb-src / libwx-perl / libwx-perl-0.96 / XS / DirDialog.xs
1 #############################################################################
2 ## Name:        XS/DirDialog.xs
3 ## Purpose:     XS for Wx::DirDialog
4 ## Author:      Mattia Barbon
5 ## Modified by:
6 ## Created:     27/11/2000
7 ## RCS-ID:      $Id: DirDialog.xs 2057 2007-06-18 23:03:00Z mbarbon $
8 ## Copyright:   (c) 2000-2001, 2003-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 #############################################################################
12
13 #include <wx/dirdlg.h>
14
15 MODULE=Wx PACKAGE=Wx::DirDialog
16
17 wxDirDialog*
18 wxDirDialog::new( parent, message = wxFileSelectorPromptStr, defaultPath = wxEmptyString, style = 0, pos = wxDefaultPosition )
19     wxWindow* parent
20     wxString message
21     wxString defaultPath
22     long style
23     wxPoint pos
24
25 wxString
26 wxDirDialog::GetPath()
27
28 wxString
29 wxDirDialog::GetMessage()
30
31 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
32
33 long
34 wxDirDialog::GetStyle()
35
36 #endif
37
38 void
39 wxDirDialog::SetMessage( message )
40     wxString message
41
42 void
43 wxDirDialog::SetPath( path )
44     wxString path
45
46 #if WXPERL_W_VERSION_LT( 2, 7, 0 )
47
48 void
49 wxDirDialog::SetStyle( style )
50     long style
51
52 #endif
53
54 int
55 wxDirDialog::ShowModal()
56
57 MODULE=Wx PACKAGE=Wx PREFIX=wx
58
59 wxString
60 wxDirSelector( message, default_path = wxEmptyString, style = 0, pos = wxDefaultPosition, parent = 0 )
61     wxString message
62     wxString default_path
63     long style
64     wxPoint pos
65     wxWindow* parent