compilation fix: don't try to convert wxString to bool, use empty() instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
07977ff28e
commit
316ef03b27
@ -1430,7 +1430,7 @@ static wxString GetGtkHotKey( const wxMenuItem& item )
|
||||
if ( code < 127 )
|
||||
{
|
||||
wxString name = wxGTK_CONV_BACK( gdk_keyval_name((guint)code) );
|
||||
if ( name )
|
||||
if ( !name.empty() )
|
||||
{
|
||||
hotkey << name;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user