// menu and toolbar item kinds
enum wxItemKind
{
- wxItem_Separator = -1,
- wxItem_Normal,
- wxItem_Check,
- wxItem_Radio,
- wxItem_Max
+ wxITEM_SEPARATOR = -1,
+ wxITEM_NORMAL,
+ wxITEM_CHECK,
+ wxITEM_RADIO,
+ wxITEM_MAX
};
// hit test results
int id = wxID_SEPARATOR,
const wxString& text = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
~wxMenuItem();
int id = wxID_SEPARATOR,
const wxString& text = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
~wxMenuItem();
int id = wxID_SEPARATOR,
const wxString& name = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
virtual ~wxMenuItem();
void Append(int id,
const wxString& text,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal)
+ wxItemKind kind = wxITEM_NORMAL)
{
DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help, kind));
}
const wxString& text,
const wxString& help = wxEmptyString)
{
- Append(id, text, help, wxItem_Check);
+ Append(id, text, help, wxITEM_CHECK);
}
// append a radio item
const wxString& text,
const wxString& help = wxEmptyString)
{
- Append(id, text, help, wxItem_Radio);
+ Append(id, text, help, wxITEM_RADIO);
}
// append a submenu
const wxString& help = wxEmptyString)
{
DoAppend(wxMenuItem::New((wxMenu *)this, id, text, help,
- wxItem_Normal, submenu));
+ wxITEM_NORMAL, submenu));
}
// the most generic form of Append() - append anything
int id,
const wxString& text,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal)
+ wxItemKind kind = wxITEM_NORMAL)
{
Insert(pos, wxMenuItem::New((wxMenu *)this, id, text, help, kind));
}
const wxString& text,
const wxString& help = wxEmptyString)
{
- Insert(pos, id, text, help, wxItem_Check);
+ Insert(pos, id, text, help, wxITEM_CHECK);
}
// insert a radio item
const wxString& text,
const wxString& help = wxEmptyString)
{
- Insert(pos, id, text, help, wxItem_Radio);
+ Insert(pos, id, text, help, wxITEM_RADIO);
}
// insert a submenu
const wxString& help = wxEmptyString)
{
Insert(pos, wxMenuItem::New((wxMenu *)this, id, text, help,
- wxItem_Normal, submenu));
+ wxITEM_NORMAL, submenu));
}
// prepend an item to the menu
void Prepend(int id,
const wxString& text,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal)
+ wxItemKind kind = wxITEM_NORMAL)
{
Insert(0u, id, text, help, kind);
}
const wxString& help,
bool isCheckable)
{
- Append(id, text, help, isCheckable ? wxItem_Check : wxItem_Normal);
+ Append(id, text, help, isCheckable ? wxITEM_CHECK : wxITEM_NORMAL);
}
void Insert(size_t pos,
const wxString& help,
bool isCheckable)
{
- Insert(pos, id, text, help, isCheckable ? wxItem_Check : wxItem_Normal);
+ Insert(pos, id, text, help, isCheckable ? wxITEM_CHECK : wxITEM_NORMAL);
}
void Prepend(int id,
int id = wxID_SEPARATOR,
const wxString& text = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
// destruction: wxMenuItem will delete its submenu
// what kind of menu item we are
wxItemKind GetKind() const { return m_kind; }
- virtual void SetCheckable(bool checkable) { m_kind = wxItem_Check; }
+ virtual void SetCheckable(bool checkable) { m_kind = wxITEM_CHECK; }
bool IsCheckable() const
- { return m_kind == wxItem_Check || m_kind == wxItem_Radio; }
+ { return m_kind == wxITEM_CHECK || m_kind == wxITEM_RADIO; }
bool IsSubMenu() const { return m_subMenu != NULL; }
void SetSubMenu(wxMenu *menu) { m_subMenu = menu; }
wxMenu *subMenu = (wxMenu *)NULL)
{
return New(parentMenu, id, text, help,
- isCheckable ? wxItem_Check : wxItem_Normal, subMenu);
+ isCheckable ? wxITEM_CHECK : wxITEM_NORMAL, subMenu);
}
protected:
int id = wxID_SEPARATOR,
const wxString& text = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
private:
int id = wxID_SEPARATOR,
const wxString& text = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
~wxMenuItem();
int id = wxID_SEPARATOR,
const wxString& name = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
virtual ~wxMenuItem();
int id = wxID_SEPARATOR,
const wxString& name = wxEmptyString,
const wxString& help = wxEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
virtual ~wxMenuItem();
wxMenuItemBase::Check( check );
// GTK+ does it itself for the radio item
- if ( GetKind() == wxItem_Check )
+ if ( GetKind() == wxITEM_CHECK )
{
gtk_check_menu_item_set_state( (GtkCheckMenuItem*)m_menuItem, (gint)check );
}
const char *item_type;
switch ( mitem->GetKind() )
{
- case wxItem_Check:
+ case wxITEM_CHECK:
item_type = "<CheckItem>";
break;
- case wxItem_Radio:
+ case wxITEM_RADIO:
if ( m_pathLastRadio.empty() )
{
// start of a new radio group
wxFAIL_MSG( _T("unexpected menu item kind") );
// fall through
- case wxItem_Normal:
+ case wxITEM_NORMAL:
item_type = "<Item>";
break;
}
wxMenuItemBase::Check( check );
// GTK+ does it itself for the radio item
- if ( GetKind() == wxItem_Check )
+ if ( GetKind() == wxITEM_CHECK )
{
gtk_check_menu_item_set_state( (GtkCheckMenuItem*)m_menuItem, (gint)check );
}
const char *item_type;
switch ( mitem->GetKind() )
{
- case wxItem_Check:
+ case wxITEM_CHECK:
item_type = "<CheckItem>";
break;
- case wxItem_Radio:
+ case wxITEM_RADIO:
if ( m_pathLastRadio.empty() )
{
// start of a new radio group
wxFAIL_MSG( _T("unexpected menu item kind") );
// fall through
- case wxItem_Normal:
+ case wxITEM_NORMAL:
item_type = "<Item>";
break;
}
{
wxCHECK_MSG( item, FALSE, _T("NULL item in wxMenu::DoAppend") );
- if ( item->GetKind() == wxItem_Radio )
+ if ( item->GetKind() == wxITEM_RADIO )
{
if ( m_startRadioGroup == -1 )
{
wxMenu *pSubMenu)
: wxMenuItemBase(pParentMenu, id, text, strHelp, kind, pSubMenu)
#if wxUSE_OWNER_DRAWN
- , wxOwnerDrawn(GetLabelFromText(text), kind == wxItem_Check)
+ , wxOwnerDrawn(GetLabelFromText(text), kind == wxITEM_CHECK)
#endif // owner drawn
{
wxASSERT_MSG( pParentMenu != NULL, wxT("a menu item should have a parent") );
int flags = check ? MF_CHECKED : MF_UNCHECKED;
HMENU hmenu = GetHMenuOf(m_parentMenu);
- if ( GetKind() == wxItem_Radio )
+ if ( GetKind() == wxITEM_RADIO )
{
// it doesn't make sense to uncheck a radio item - what would this do?
if ( !check )
// menu and toolbar item kinds
enum wxItemKind
{
- wxItem_Separator = -1,
- wxItem_Normal,
- wxItem_Check,
- wxItem_Radio,
- wxItem_Max
+ wxITEM_SEPARATOR = -1,
+ wxITEM_NORMAL,
+ wxITEM_CHECK,
+ wxITEM_RADIO,
+ wxITEM_MAX
};
enum wxHitTest
int _arg1;
wxString * _arg2;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyObject * _obj3 = 0;
int _arg2;
wxString * _arg3;
wxString * _arg4 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg5 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj3 = 0;
PyObject * _obj4 = 0;
int _arg1;
wxString * _arg2;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyObject * _obj3 = 0;
int _arg1 = (int ) wxID_SEPARATOR;
wxString * _arg2 = (wxString *) &wxPyEmptyString;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
wxMenu * _arg5 = (wxMenu *) NULL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyDict_SetItemString(d,"wxDUPLEX_SIMPLEX", PyInt_FromLong((long) wxDUPLEX_SIMPLEX));
PyDict_SetItemString(d,"wxDUPLEX_HORIZONTAL", PyInt_FromLong((long) wxDUPLEX_HORIZONTAL));
PyDict_SetItemString(d,"wxDUPLEX_VERTICAL", PyInt_FromLong((long) wxDUPLEX_VERTICAL));
- PyDict_SetItemString(d,"wxItem_Separator", PyInt_FromLong((long) wxItem_Separator));
- PyDict_SetItemString(d,"wxItem_Normal", PyInt_FromLong((long) wxItem_Normal));
- PyDict_SetItemString(d,"wxItem_Check", PyInt_FromLong((long) wxItem_Check));
- PyDict_SetItemString(d,"wxItem_Radio", PyInt_FromLong((long) wxItem_Radio));
- PyDict_SetItemString(d,"wxItem_Max", PyInt_FromLong((long) wxItem_Max));
+ PyDict_SetItemString(d,"wxITEM_SEPARATOR", PyInt_FromLong((long) wxITEM_SEPARATOR));
+ PyDict_SetItemString(d,"wxITEM_NORMAL", PyInt_FromLong((long) wxITEM_NORMAL));
+ PyDict_SetItemString(d,"wxITEM_CHECK", PyInt_FromLong((long) wxITEM_CHECK));
+ PyDict_SetItemString(d,"wxITEM_RADIO", PyInt_FromLong((long) wxITEM_RADIO));
+ PyDict_SetItemString(d,"wxITEM_MAX", PyInt_FromLong((long) wxITEM_MAX));
PyDict_SetItemString(d,"wxHT_NOWHERE", PyInt_FromLong((long) wxHT_NOWHERE));
PyDict_SetItemString(d,"wxHT_SCROLLBAR_FIRST", PyInt_FromLong((long) wxHT_SCROLLBAR_FIRST));
PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_LINE_1", PyInt_FromLong((long) wxHT_SCROLLBAR_ARROW_LINE_1));
wxDUPLEX_SIMPLEX = wxc.wxDUPLEX_SIMPLEX
wxDUPLEX_HORIZONTAL = wxc.wxDUPLEX_HORIZONTAL
wxDUPLEX_VERTICAL = wxc.wxDUPLEX_VERTICAL
-wxItem_Separator = wxc.wxItem_Separator
-wxItem_Normal = wxc.wxItem_Normal
-wxItem_Check = wxc.wxItem_Check
-wxItem_Radio = wxc.wxItem_Radio
-wxItem_Max = wxc.wxItem_Max
+wxITEM_SEPARATOR = wxc.wxITEM_SEPARATOR
+wxITEM_NORMAL = wxc.wxITEM_NORMAL
+wxITEM_CHECK = wxc.wxITEM_CHECK
+wxITEM_RADIO = wxc.wxITEM_RADIO
+wxITEM_MAX = wxc.wxITEM_MAX
wxHT_NOWHERE = wxc.wxHT_NOWHERE
wxHT_SCROLLBAR_FIRST = wxc.wxHT_SCROLLBAR_FIRST
wxHT_SCROLLBAR_ARROW_LINE_1 = wxc.wxHT_SCROLLBAR_ARROW_LINE_1
int _arg1;
wxString * _arg2;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyObject * _obj3 = 0;
int _arg2;
wxString * _arg3;
wxString * _arg4 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg5 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj3 = 0;
PyObject * _obj4 = 0;
int _arg1;
wxString * _arg2;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyObject * _obj3 = 0;
int _arg1 = (int ) wxID_SEPARATOR;
wxString * _arg2 = (wxString *) &wxPyEmptyString;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
wxMenu * _arg5 = (wxMenu *) NULL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyDict_SetItemString(d,"wxDUPLEX_SIMPLEX", PyInt_FromLong((long) wxDUPLEX_SIMPLEX));
PyDict_SetItemString(d,"wxDUPLEX_HORIZONTAL", PyInt_FromLong((long) wxDUPLEX_HORIZONTAL));
PyDict_SetItemString(d,"wxDUPLEX_VERTICAL", PyInt_FromLong((long) wxDUPLEX_VERTICAL));
- PyDict_SetItemString(d,"wxItem_Separator", PyInt_FromLong((long) wxItem_Separator));
- PyDict_SetItemString(d,"wxItem_Normal", PyInt_FromLong((long) wxItem_Normal));
- PyDict_SetItemString(d,"wxItem_Check", PyInt_FromLong((long) wxItem_Check));
- PyDict_SetItemString(d,"wxItem_Radio", PyInt_FromLong((long) wxItem_Radio));
- PyDict_SetItemString(d,"wxItem_Max", PyInt_FromLong((long) wxItem_Max));
+ PyDict_SetItemString(d,"wxITEM_SEPARATOR", PyInt_FromLong((long) wxITEM_SEPARATOR));
+ PyDict_SetItemString(d,"wxITEM_NORMAL", PyInt_FromLong((long) wxITEM_NORMAL));
+ PyDict_SetItemString(d,"wxITEM_CHECK", PyInt_FromLong((long) wxITEM_CHECK));
+ PyDict_SetItemString(d,"wxITEM_RADIO", PyInt_FromLong((long) wxITEM_RADIO));
+ PyDict_SetItemString(d,"wxITEM_MAX", PyInt_FromLong((long) wxITEM_MAX));
PyDict_SetItemString(d,"wxHT_NOWHERE", PyInt_FromLong((long) wxHT_NOWHERE));
PyDict_SetItemString(d,"wxHT_SCROLLBAR_FIRST", PyInt_FromLong((long) wxHT_SCROLLBAR_FIRST));
PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_LINE_1", PyInt_FromLong((long) wxHT_SCROLLBAR_ARROW_LINE_1));
wxDUPLEX_SIMPLEX = wxc.wxDUPLEX_SIMPLEX
wxDUPLEX_HORIZONTAL = wxc.wxDUPLEX_HORIZONTAL
wxDUPLEX_VERTICAL = wxc.wxDUPLEX_VERTICAL
-wxItem_Separator = wxc.wxItem_Separator
-wxItem_Normal = wxc.wxItem_Normal
-wxItem_Check = wxc.wxItem_Check
-wxItem_Radio = wxc.wxItem_Radio
-wxItem_Max = wxc.wxItem_Max
+wxITEM_SEPARATOR = wxc.wxITEM_SEPARATOR
+wxITEM_NORMAL = wxc.wxITEM_NORMAL
+wxITEM_CHECK = wxc.wxITEM_CHECK
+wxITEM_RADIO = wxc.wxITEM_RADIO
+wxITEM_MAX = wxc.wxITEM_MAX
wxHT_NOWHERE = wxc.wxHT_NOWHERE
wxHT_SCROLLBAR_FIRST = wxc.wxHT_SCROLLBAR_FIRST
wxHT_SCROLLBAR_ARROW_LINE_1 = wxc.wxHT_SCROLLBAR_ARROW_LINE_1
int _arg1;
wxString * _arg2;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyObject * _obj3 = 0;
int _arg2;
wxString * _arg3;
wxString * _arg4 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg5 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg5 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj3 = 0;
PyObject * _obj4 = 0;
int _arg1;
wxString * _arg2;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyObject * _obj3 = 0;
int _arg1 = (int ) wxID_SEPARATOR;
wxString * _arg2 = (wxString *) &wxPyEmptyString;
wxString * _arg3 = (wxString *) &wxPyEmptyString;
- wxItemKind _arg4 = (wxItemKind ) wxItem_Normal;
+ wxItemKind _arg4 = (wxItemKind ) wxITEM_NORMAL;
wxMenu * _arg5 = (wxMenu *) NULL;
PyObject * _argo0 = 0;
PyObject * _obj2 = 0;
PyDict_SetItemString(d,"wxDUPLEX_SIMPLEX", PyInt_FromLong((long) wxDUPLEX_SIMPLEX));
PyDict_SetItemString(d,"wxDUPLEX_HORIZONTAL", PyInt_FromLong((long) wxDUPLEX_HORIZONTAL));
PyDict_SetItemString(d,"wxDUPLEX_VERTICAL", PyInt_FromLong((long) wxDUPLEX_VERTICAL));
- PyDict_SetItemString(d,"wxItem_Separator", PyInt_FromLong((long) wxItem_Separator));
- PyDict_SetItemString(d,"wxItem_Normal", PyInt_FromLong((long) wxItem_Normal));
- PyDict_SetItemString(d,"wxItem_Check", PyInt_FromLong((long) wxItem_Check));
- PyDict_SetItemString(d,"wxItem_Radio", PyInt_FromLong((long) wxItem_Radio));
- PyDict_SetItemString(d,"wxItem_Max", PyInt_FromLong((long) wxItem_Max));
+ PyDict_SetItemString(d,"wxITEM_SEPARATOR", PyInt_FromLong((long) wxITEM_SEPARATOR));
+ PyDict_SetItemString(d,"wxITEM_NORMAL", PyInt_FromLong((long) wxITEM_NORMAL));
+ PyDict_SetItemString(d,"wxITEM_CHECK", PyInt_FromLong((long) wxITEM_CHECK));
+ PyDict_SetItemString(d,"wxITEM_RADIO", PyInt_FromLong((long) wxITEM_RADIO));
+ PyDict_SetItemString(d,"wxITEM_MAX", PyInt_FromLong((long) wxITEM_MAX));
PyDict_SetItemString(d,"wxHT_NOWHERE", PyInt_FromLong((long) wxHT_NOWHERE));
PyDict_SetItemString(d,"wxHT_SCROLLBAR_FIRST", PyInt_FromLong((long) wxHT_SCROLLBAR_FIRST));
PyDict_SetItemString(d,"wxHT_SCROLLBAR_ARROW_LINE_1", PyInt_FromLong((long) wxHT_SCROLLBAR_ARROW_LINE_1));
wxDUPLEX_SIMPLEX = wxc.wxDUPLEX_SIMPLEX
wxDUPLEX_HORIZONTAL = wxc.wxDUPLEX_HORIZONTAL
wxDUPLEX_VERTICAL = wxc.wxDUPLEX_VERTICAL
-wxItem_Separator = wxc.wxItem_Separator
-wxItem_Normal = wxc.wxItem_Normal
-wxItem_Check = wxc.wxItem_Check
-wxItem_Radio = wxc.wxItem_Radio
-wxItem_Max = wxc.wxItem_Max
+wxITEM_SEPARATOR = wxc.wxITEM_SEPARATOR
+wxITEM_NORMAL = wxc.wxITEM_NORMAL
+wxITEM_CHECK = wxc.wxITEM_CHECK
+wxITEM_RADIO = wxc.wxITEM_RADIO
+wxITEM_MAX = wxc.wxITEM_MAX
wxHT_NOWHERE = wxc.wxHT_NOWHERE
wxHT_SCROLLBAR_FIRST = wxc.wxHT_SCROLLBAR_FIRST
wxHT_SCROLLBAR_ARROW_LINE_1 = wxc.wxHT_SCROLLBAR_ARROW_LINE_1
void Append(int id, const wxString& item,
const wxString& helpString = wxPyEmptyString,
- wxItemKind kind = wxItem_Normal);
+ wxItemKind kind = wxITEM_NORMAL);
%name(AppendMenu)void Append(int id, const wxString& item, wxMenu *subMenu,
const wxString& helpString = wxPyEmptyString);
%name(AppendItem)void Append(const wxMenuItem* item);
int id,
const wxString& text,
const wxString& help = wxPyEmptyString,
- wxItemKind kind = wxItem_Normal);
+ wxItemKind kind = wxITEM_NORMAL);
void InsertSeparator(size_t pos);
void InsertCheckItem(size_t pos,
int id,
void Prepend(int id,
const wxString& text,
const wxString& help = wxPyEmptyString,
- wxItemKind kind = wxItem_Normal);
+ wxItemKind kind = wxITEM_NORMAL);
void PrependSeparator();
void PrependCheckItem(int id,
const wxString& text,
wxMenuItem(wxMenu* parentMenu=NULL, int id=wxID_SEPARATOR,
const wxString& text = wxPyEmptyString,
const wxString& help = wxPyEmptyString,
- wxItemKind kind = wxItem_Normal,
+ wxItemKind kind = wxITEM_NORMAL,
wxMenu* subMenu = NULL);