New menu code.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2004-03-15 20:19:20 +00:00
parent d40bbd4dac
commit 6d9713540d
6 changed files with 495 additions and 724 deletions

View File

@@ -48,8 +48,9 @@ public:
// common part of Append and Insert
bool GtkAppend(wxMenu *menu, const wxString& title);
#ifndef __WXGTK20__
GtkAccelGroup *m_accel;
GtkItemFactory *m_factory;
#endif
GtkWidget *m_menubar;
long m_style;
wxWindow *m_invokingWindow;
@@ -87,7 +88,6 @@ public:
GtkWidget *m_menu; // GtkMenu
GtkWidget *m_owner;
GtkAccelGroup *m_accel;
GtkItemFactory *m_factory;
private:
// common code for all constructors:
@@ -96,9 +96,7 @@ private:
// common part of Append and Insert
bool GtkAppend(wxMenuItem *item);
// if the last menu item was a radio one, this field contains its path,
// otherwise it is empty
wxString m_pathLastRadio;
GtkWidget *m_prevRadio;
DECLARE_DYNAMIC_CLASS(wxMenu)
};