some ifdef'd out things added back in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -336,9 +336,7 @@ public:
|
|||||||
int checkable = FALSE);
|
int checkable = FALSE);
|
||||||
%name(AppendMenu)void Append(int id, const wxString& item, wxMenu *subMenu,
|
%name(AppendMenu)void Append(int id, const wxString& item, wxMenu *subMenu,
|
||||||
const wxString& helpString = wxPyEmptyStr);
|
const wxString& helpString = wxPyEmptyStr);
|
||||||
#ifndef __WXGTK__
|
|
||||||
%name(AppendItem)void Append(const wxMenuItem* item);
|
%name(AppendItem)void Append(const wxMenuItem* item);
|
||||||
#endif
|
|
||||||
|
|
||||||
void AppendSeparator();
|
void AppendSeparator();
|
||||||
void Break();
|
void Break();
|
||||||
@@ -389,15 +387,13 @@ public:
|
|||||||
bool Enabled(int id);
|
bool Enabled(int id);
|
||||||
int FindMenuItem(const wxString& menuString, const wxString& itemString);
|
int FindMenuItem(const wxString& menuString, const wxString& itemString);
|
||||||
wxMenuItem * FindItemForId(int id);
|
wxMenuItem * FindItemForId(int id);
|
||||||
#ifdef __WXMSW__
|
void SetLabel(int id, const wxString& label);
|
||||||
void EnableTop(int pos, bool enable);
|
void EnableTop(int pos, bool enable);
|
||||||
wxString GetHelpString(int id);
|
wxString GetHelpString(int id);
|
||||||
wxString GetLabel(int id);
|
wxString GetLabel(int id);
|
||||||
void SetHelpString(int id, const wxString& helpString);
|
void SetHelpString(int id, const wxString& helpString);
|
||||||
void SetLabel(int id, const wxString& label);
|
|
||||||
wxString GetLabelTop(int pos);
|
wxString GetLabelTop(int pos);
|
||||||
void SetLabelTop(int pos, const wxString& label);
|
void SetLabelTop(int pos, const wxString& label);
|
||||||
#endif
|
|
||||||
int GetMenuCount();
|
int GetMenuCount();
|
||||||
wxMenu* GetMenu(int i);
|
wxMenu* GetMenu(int i);
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user