m_waiting = TRUE;
m_window = win;
- m_widget = win->GetWidget();
- if (win->GetWxWindow()) m_widget = win->GetWxWindow();
+ m_widget = win->m_widget;
+ if (win->m_wxwindow) m_widget = win->m_wxwindow;
m_data = (wxDataBroker*) NULL;
m_retValue = wxDragCancel;
m_waiting = TRUE;
m_window = win;
- m_widget = win->GetWidget();
- if (win->GetWxWindow()) m_widget = win->GetWxWindow();
+ m_widget = win->m_widget;
+ if (win->m_wxwindow) m_widget = win->m_wxwindow;
m_retValue = wxDragCancel;
if (data)
wxDropSource::wxDropSource( wxDataBroker *data, wxWindow *win )
{
m_window = win;
- m_widget = win->GetWidget();
- if (win->GetWxWindow()) m_widget = win->GetWxWindow();
+ m_widget = win->m_widget;
+ if (win->m_wxwindow) m_widget = win->m_wxwindow;
m_retValue = wxDragCancel;
m_data = data;