Disable wxID_EXIT on PalmOS with all consequences in content of menu (separators). Remove msw related code in wxPalmOS.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-03-10 19:59:01 +00:00
parent 9600e53035
commit 17131ffd75
4 changed files with 84 additions and 27 deletions

View File

@@ -76,8 +76,6 @@ public:
// semi-private accessors
// get the window which contains this menu
wxWindow *GetWindow() const;
// get the menu handle
WXHMENU GetHMenu() const { return m_hMenu; }
#if wxUSE_ACCEL
// called by wxMenuBar to build its accel table from the accels of all menus
@@ -108,9 +106,6 @@ private:
// the position of the first item in the current radio group or -1
int m_startRadioGroup;
// the menu handle of this menu
WXHMENU m_hMenu;
#if wxUSE_ACCEL
// the accelerators for our menu items
wxAcceleratorArray m_accels;
@@ -183,9 +178,6 @@ public:
void RebuildAccelTable();
#endif // wxUSE_ACCEL
// get the menu handle
WXHMENU GetHMenu() const { return m_hMenu; }
// if the menubar is modified, the display is not updated automatically,
// call this function to update it (m_menuBarFrame should be !NULL)
void Refresh();
@@ -201,8 +193,6 @@ protected:
wxArrayString m_titles ;
wxMenuInfoList m_menuInfos;
WXHMENU m_hMenu;
// Return the Palm position for a wxMenu which is sometimes different from
// the wxWidgets position.
int PalmPositionForWxMenu(wxMenu *menu, int wxpos);