Combox gets its own SetFocus()
wxDialog() set the focus to itself when shown. This will the propagate to some control in the dialog. I am not sure if this will override preceding user's call to SetFocus() in one of the child windows. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1313,7 +1313,7 @@ static wxString GetHotKey( const wxMenuItem& item )
|
||||
default:
|
||||
if ( code < 127 )
|
||||
{
|
||||
gchar *name = gdk_keyval_name((guint)code);
|
||||
wxString name = wxGTK_CONV_BACK( gdk_keyval_name((guint)code) );
|
||||
if ( name )
|
||||
{
|
||||
hotkey << name;
|
||||
|
Reference in New Issue
Block a user