minor wx.DirDialog updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-05-06 21:55:27 +00:00
parent ed4b0fdca6
commit 41d4305cd3

View File

@@ -125,7 +125,8 @@ MustHaveApp(wxDirDialog);
class wxDirDialog : public wxDialog {
public:
%pythonAppend wxDirDialog "self._setOORInfo(self)"
%pythonAppend wxDirDialog() ""
DocCtorStr(
wxDirDialog(wxWindow* parent,
const wxString& message = wxPyDirSelectorPromptStr,
@@ -136,6 +137,15 @@ public:
const wxString& name = wxPyDirDialogNameStr),
"Constructor. Use ShowModal method to show the dialog.", "");
%RenameCtor(PreDirDialog, wxDirDialog());
bool Create(wxWindow *parent,
const wxString& title = wxDirSelectorPromptStr,
const wxString& defaultPath = wxEmptyString,
long style = wxDD_DEFAULT_STYLE,
const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
const wxString& name = wxPyDirDialogNameStr);
DocDeclStr(
wxString , GetPath(),
@@ -145,10 +155,6 @@ public:
wxString , GetMessage(),
"Returns the message that will be displayed on the dialog.", "");
DocDeclStr(
long , GetStyle(),
"Returns the dialog style.", "");
DocDeclStr(
void , SetMessage(const wxString& message),
"Sets the message that will be displayed on the dialog.", "");