many fixes to wxTextCrtl, wxTreeCrtl, wxListBox,

wxDialog, wxFrame
two more samples work now, docview and treectrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-07-20 18:05:48 +00:00
parent 035b704a46
commit e2414cbe8c
25 changed files with 334 additions and 190 deletions

View File

@@ -137,7 +137,7 @@ wxMenu::wxMenu( const wxString &title )
void wxMenu::AppendSeparator(void)
{
wxMenuItem *mitem = new wxMenuItem();
mitem->m_id = -1;
mitem->m_id = ID_SEPARATOR;
mitem->m_text = "";
mitem->m_helpStr = "";
mitem->m_isCheckMenu = FALSE;
@@ -219,6 +219,11 @@ int wxMenu::FindItem( const wxString itemString ) const
return -1;
};
void wxMenu::Check( int WXUNUSED(id), bool WXUNUSED(Flag) )
{
// I'm just too lazy
};
void wxMenu::Enable( int id, bool enable )
{
wxNode *node = m_items.First();