Warning fixes to unused variables, int/wxChar keycode and other typecasting, not mixing 'type*' and 'type' variables in single line, IsEmpty to empty replacement etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -135,7 +135,7 @@ bool wxListBox::Create(wxWindow *parent,
|
||||
style |= wxBORDER_SUNKEN;
|
||||
#endif
|
||||
|
||||
if ( !wxControl::Create(parent, id, pos, size, style,
|
||||
if ( !wxControl::Create(parent, id, pos, size, style,
|
||||
validator, name) )
|
||||
return false;
|
||||
|
||||
@@ -1380,7 +1380,7 @@ bool wxStdListboxInputHandler::HandleKey(wxInputConsumer *consumer,
|
||||
break;
|
||||
|
||||
default:
|
||||
if ( (keycode < 255) && wxIsalnum(keycode) )
|
||||
if ( (keycode < 255) && wxIsalnum((wxChar)keycode) )
|
||||
{
|
||||
action = wxACTION_LISTBOX_FIND;
|
||||
strArg = (wxChar)keycode;
|
||||
|
||||
Reference in New Issue
Block a user