%{
// Put some wx default wxChar* values into wxStrings.
DECLARE_DEF_STRING(FileSelectorPromptStr);
+ DECLARE_DEF_STRING(DirSelectorPromptStr);
+ DECLARE_DEF_STRING(DirDialogNameStr);
DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
DECLARE_DEF_STRING(GetTextFromUserPromptStr);
DECLARE_DEF_STRING(MessageBoxCaptionStr);
class wxDirDialog : public wxDialog {
public:
wxDirDialog(wxWindow* parent,
- const wxString& message = wxPyFileSelectorPromptStr,
+ const wxString& message = wxPyDirSelectorPromptStr,
const wxString& defaultPath = wxPyEmptyString,
long style = 0,
- const wxPoint& pos = wxDefaultPosition);
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ const wxString& name = wxPyDirDialogNameStr);
%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
class wxFontDialog : public wxDialog {
public:
- wxFontDialog(wxWindow* parent, wxFontData* data);
+ wxFontDialog(wxWindow* parent, const wxFontData& data);
%pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
wxFontData& GetFontData();