pcsx2: don't access member data directly

This commit is contained in:
Gregory Hainaut 2014-07-19 11:42:15 +02:00
parent 79701aa613
commit 50868f14f6
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ public:
if ( !GetData() ) if ( !GetData() )
return wxDragNone; return wxDragNone;
McdDataObject *dobj = (McdDataObject *)m_dataObject; McdDataObject *dobj = (McdDataObject *)GetDataObject();
int sourceViewIndex = dobj->GetViewIndex(); int sourceViewIndex = dobj->GetViewIndex();
wxDragResult result = OnDropMcd( wxDragResult result = OnDropMcd(