GTK 1.0 compilation (not tested)
toolbars can now get inserted in the client area as well (as normal windows) Menu accels can be functions keys Made DialogEd work again (with wxGTK :-) ) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -488,9 +488,9 @@ void wxMenuItem::SetName( const wxString& str )
|
||||
#if (GTK_MINOR_VERSION > 0)
|
||||
m_text << _T('_');
|
||||
} else
|
||||
if (*pc == _T('/'))
|
||||
if (*pc == _T('/')) /* we have to filter out slashes ... */
|
||||
{
|
||||
m_text << _T('\\');
|
||||
m_text << _T('\\'); /* ... and replace them with back slashes */
|
||||
#endif
|
||||
}
|
||||
else
|
||||
@@ -677,6 +677,12 @@ void wxMenu::Append( int id, const wxString &item, const wxString &helpStr, bool
|
||||
entry.accelerator = hotbuf;
|
||||
break;
|
||||
}
|
||||
case _T('F'): /* function keys */
|
||||
{
|
||||
strcpy( hotbuf, hotkey.mb_str() );
|
||||
entry.accelerator = hotbuf;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user