Applied patch from Ian Brown. Fixes coredump under Solaris.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -617,7 +617,7 @@ void wxListBoxCallback (Widget WXUNUSED(w), XtPointer clientData,
|
||||
event.SetString( item->GetString( n ) );
|
||||
|
||||
int x = -1;
|
||||
if( cbs->event->type == ButtonRelease )
|
||||
if( NULL != cbs->event && cbs->event->type == ButtonRelease )
|
||||
{
|
||||
XButtonEvent* evt = (XButtonEvent*)cbs->event;
|
||||
|
||||
|
Reference in New Issue
Block a user