// combobox popups and such.
class wxPopupWindow : public wxWindow {
public:
- %addtofunc wxPopupWindow "self._setOORInfo(self)"
- %addtofunc wxPopupWindow() ""
+ %pythonAppend wxPopupWindow "self._setOORInfo(self)"
+ %pythonAppend wxPopupWindow() ""
wxPopupWindow(wxWindow *parent, int flags = wxBORDER_NONE);
%name(PrePopupWindow)wxPopupWindow();
%name(PopupTransientWindow) class wxPyPopupTransientWindow : public wxPopupWindow
{
public:
- %addtofunc wxPyPopupTransientWindow "self._setOORInfo(self);self._setCallbackInfo(self, PopupTransientWindow)"
- %addtofunc wxPyPopupTransientWindow() ""
+ %pythonAppend wxPyPopupTransientWindow "self._setOORInfo(self);self._setCallbackInfo(self, PopupTransientWindow)"
+ %pythonAppend wxPyPopupTransientWindow() ""
wxPyPopupTransientWindow(wxWindow *parent, int style = wxBORDER_NONE);
%name(PrePopupTransientWindow)wxPyPopupTransientWindow();
%{
class wxPopupWindow : public wxWindow {
public:
- wxPopupWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
- wxPopupWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
+ wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
+ wxPopupWindow() { wxPyRaiseNotImplemented(); }
};
class wxPyPopupTransientWindow : public wxPopupWindow
{
public:
- wxPyPopupTransientWindow(wxWindow *, int) { PyErr_SetNone(PyExc_NotImplementedError); }
- wxPyPopupTransientWindow() { PyErr_SetNone(PyExc_NotImplementedError); }
+ wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
+ wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
};
%}