X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a210755f3b5027ae8b91af6bec25d60c5f2ad36..628eae0bcd7916c57847b7eab739d4cc32534ccf:/wxPython/src/_menu.i diff --git a/wxPython/src/_menu.i b/wxPython/src/_menu.i index 34cdd032a1..dc6f3baa21 100644 --- a/wxPython/src/_menu.i +++ b/wxPython/src/_menu.i @@ -249,7 +249,7 @@ public: virtual void EnableTop(size_t pos, bool enable); // is the menu enabled? - virtual bool IsEnabledTop(size_t WXUNUSED(pos)) const { return true; } + virtual bool IsEnabledTop(size_t pos) const; // get or change the label of the menu at given position virtual void SetLabelTop(size_t pos, const wxString& label); @@ -266,7 +266,7 @@ public: %Rename(FindItemById, virtual wxMenuItem*, FindItem(int id /*, wxMenu **menu = NULL*/) const); // find menu by its caption, return wxNOT_FOUND on failure - int FindMenu(const wxString& title) const; + int FindMenu(const wxString& title); // all these functions just use FindItem() and then call an appropriate