%newgroup
+MustHaveApp(wxMenu);
+
class wxMenu : public wxEvtHandler
{
public:
- %addtofunc wxMenu "self._setOORInfo(self)"
+ %pythonAppend wxMenu "self._setOORInfo(self)"
wxMenu(const wxString& title = wxPyEmptyString, long style = 0);
//---------------------------------------------------------------------------
%newgroup
+MustHaveApp(wxMenuBar);
+
class wxMenuBar : public wxWindow
{
public:
- %addtofunc wxMenuBar "self._setOORInfo(self)"
+ %pythonAppend wxMenuBar "self._setOORInfo(self)"
wxMenuBar(long style = 0);
class wxMenuItem : public wxObject {
public:
- wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_SEPARATOR,
+ wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_ANY,
const wxString& text = wxPyEmptyString,
const wxString& help = wxPyEmptyString,
wxItemKind kind = wxITEM_NORMAL,
// what kind of menu item we are
wxItemKind GetKind() const;
+ void SetKind(wxItemKind kind);
virtual void SetCheckable(bool checkable);
bool IsCheckable() const;