mini-bugs in wxMenu (it now converts / to \ in

the menu text)
  toolbar tips are yellow again
  typo in dcclient


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-02 09:19:44 +00:00
parent c127177f8d
commit fac4253c6f
6 changed files with 88 additions and 8 deletions

View File

@@ -109,8 +109,12 @@ void wxMenuBar::Append( wxMenu *menu, const wxString &title )
{
#if (GTK_MINOR_VERSION > 0) && (GTK_MICRO_VERSION > 0)
str << _T('_');
} else
if (*pc == _T('/'))
{
str << _T('\\');
#endif
}
}
else
str << *pc;
}
@@ -483,6 +487,10 @@ void wxMenuItem::SetName( const wxString& str )
{
#if (GTK_MINOR_VERSION > 0)
m_text << _T('_');
} else
if (*pc == _T('/'))
{
m_text << _T('\\');
#endif
}
else
@@ -664,7 +672,6 @@ void wxMenu::Append( int id, const wxString &item, const wxString &helpStr, bool
wxString s = _T("<main>/");
for ( const wxChar *pc = text; *pc != _T('\0'); pc++ )
{
if (*pc == _T('\t')) break;
if (*pc == _T('_')) pc++; /* skip it */
s << *pc;
}