fix several problems in handling of the menu items with negative ids

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-11-17 20:38:07 +00:00
parent a368dde565
commit 660e7fda2c
4 changed files with 26 additions and 15 deletions

View File

@@ -53,8 +53,11 @@ public:
// the id for a popup menu is really its menu handle (as required by
// ::AppendMenu() API), so this function will return either the id or the
// menu handle depending on what we're
int GetRealId() const;
// menu handle depending on what we are
//
// notice that it also returns the id as an unsigned int, as required by
// Win32 API
unsigned GetMSWId() const;
// mark item as belonging to the given radio group
void SetAsRadioGroupStart();