//---------------------------------------------------------------------------
%newgroup
-%{
-
- DECLARE_DEF_STRING(FileSelectorPromptStr);
- DECLARE_DEF_STRING(DirSelectorPromptStr);
- DECLARE_DEF_STRING(DirDialogNameStr);
- DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
- DECLARE_DEF_STRING(GetTextFromUserPromptStr);
- DECLARE_DEF_STRING(MessageBoxCaptionStr);
-
-%}
+MAKE_CONST_WXSTRING(FileSelectorPromptStr);
+MAKE_CONST_WXSTRING(DirSelectorPromptStr);
+MAKE_CONST_WXSTRING(DirDialogNameStr);
+MAKE_CONST_WXSTRING(FileSelectorDefaultWildcardStr);
+MAKE_CONST_WXSTRING(GetTextFromUserPromptStr);
+MAKE_CONST_WXSTRING(MessageBoxCaptionStr);
//---------------------------------------------------------------------------
class wxColourDialog : public wxDialog {
public:
- %addtofunc wxColourDialog "self._setOORInfo(self)"
+ %pythonAppend wxColourDialog "self._setOORInfo(self)"
wxColourDialog(wxWindow* parent, wxColourData* data = NULL);
class wxDirDialog : public wxDialog {
public:
- %addtofunc wxDirDialog "self._setOORInfo(self)"
+ %pythonAppend wxDirDialog "self._setOORInfo(self)"
wxDirDialog(wxWindow* parent,
const wxString& message = wxPyDirSelectorPromptStr,
class wxFileDialog : public wxDialog {
public:
- %addtofunc wxFileDialog "self._setOORInfo(self)"
+ %pythonAppend wxFileDialog "self._setOORInfo(self)"
wxFileDialog(wxWindow* parent,
const wxString& message = wxPyFileSelectorPromptStr,
class wxMultiChoiceDialog : public wxDialog
{
public:
- %addtofunc wxMultiChoiceDialog "self._setOORInfo(self)"
+ %pythonAppend wxMultiChoiceDialog "self._setOORInfo(self)"
wxMultiChoiceDialog(wxWindow *parent,
const wxString& message,
class wxSingleChoiceDialog : public wxDialog {
public:
- %addtofunc wxSingleChoiceDialog "self._setOORInfo(self)"
+ %pythonAppend wxSingleChoiceDialog "self._setOORInfo(self)"
%extend {
// TODO: ignoring clientData for now... FIX THIS
class wxTextEntryDialog : public wxDialog {
public:
- %addtofunc wxTextEntryDialog "self._setOORInfo(self)"
+ %pythonAppend wxTextEntryDialog "self._setOORInfo(self)"
wxTextEntryDialog(wxWindow* parent,
const wxString& message,
class wxFontDialog : public wxDialog {
public:
- %addtofunc wxFontDialog "self._setOORInfo(self)"
+ %pythonAppend wxFontDialog "self._setOORInfo(self)"
wxFontDialog(wxWindow* parent, const wxFontData& data);
class wxMessageDialog : public wxDialog {
public:
- %addtofunc wxMessageDialog "self._setOORInfo(self)"
+ %pythonAppend wxMessageDialog "self._setOORInfo(self)"
wxMessageDialog(wxWindow* parent,
const wxString& message,
class wxProgressDialog : public wxFrame {
public:
- %addtofunc wxProgressDialog "self._setOORInfo(self)"
+ %pythonAppend wxProgressDialog "self._setOORInfo(self)"
wxProgressDialog(const wxString& title,
const wxString& message,
public:
wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0);
int GetFlags();
- wxString GetFindString();
+ const wxString& GetFindString();
const wxString& GetReplaceString();
wxFindReplaceDialog *GetDialog();
void SetFlags(int flags);
class wxFindReplaceDialog : public wxDialog {
public:
- %addtofunc wxFindReplaceDialog "self._setOORInfo(self)"
- %addtofunc wxFindReplaceDialog() ""
+ %pythonAppend wxFindReplaceDialog "self._setOORInfo(self)"
+ %pythonAppend wxFindReplaceDialog() ""
wxFindReplaceDialog(wxWindow *parent,
wxFindReplaceData *data,