Backgrounds work again

splitter sample compiles with Unicode
  if a wxClientDC is used on an unrealized widget,
    the widget's realization is forced in wxClientDC
  added underscores to wxMenuBar - don't work..
  tried to figure out why wxFrame doesn't get keyboard input


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-04-25 15:10:52 +00:00
parent eea4f86a0c
commit 1e133b7d64
11 changed files with 330 additions and 122 deletions

View File

@@ -48,6 +48,7 @@ public:
wxMenuBar();
wxMenuBar(long style);
wxMenuBar(int n, wxMenu *menus[], const wxString titles[]);
~wxMenuBar();
// menubar construction
void Append( wxMenu *menu, const wxString &title );
@@ -88,12 +89,15 @@ public:
wxMenuItem* FindMenuItemById( int id ) const { return FindItem(id); }
#endif // WXWIN_COMPATIBILITY
// implementation
// implementation only
wxList& GetMenus() { return m_menus; }
protected:
wxList m_menus;
GtkWidget *m_menubar;
GtkAccelGroup *m_accel;
GtkItemFactory *m_factory;
private:
wxList m_menus;
GtkWidget *m_menubar;
};
//-----------------------------------------------------------------------------
@@ -170,14 +174,14 @@ public:
void SetInvokingWindow( wxWindow *win );
wxWindow *GetInvokingWindow();
// implementation only
// implementation GTK only
GtkWidget *m_menu; // GtkMenu
GtkWidget *m_owner;
GtkAccelGroup *m_accel;
GtkItemFactory *m_factory;
private:
wxString m_title;
wxList m_items;
wxWindow *m_invokingWindow;