Fixed wxMotif's wxRegion/wxRegionIterator to optionally use wxRects.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -288,9 +288,11 @@ void wxSingleChoiceDialog::OnOK(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_selection = m_listbox->GetSelection();
|
||||
m_stringSelection = m_listbox->GetStringSelection();
|
||||
// TODO!
|
||||
#ifndef __WXMOTIF__
|
||||
if ( m_listbox->HasClientUntypedData() )
|
||||
SetClientData(m_listbox->GetClientData(m_selection));
|
||||
|
||||
#endif
|
||||
EndModal(wxID_OK);
|
||||
}
|
||||
|
||||
@@ -298,8 +300,12 @@ void wxSingleChoiceDialog::OnListBoxDClick(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
m_selection = m_listbox->GetSelection();
|
||||
m_stringSelection = m_listbox->GetStringSelection();
|
||||
|
||||
// TODO!
|
||||
#ifndef __WXMOTIF__
|
||||
if ( m_listbox->HasClientUntypedData() )
|
||||
SetClientData(m_listbox->GetClientData(m_selection));
|
||||
#endif
|
||||
|
||||
EndModal(wxID_OK);
|
||||
}
|
||||
|
Reference in New Issue
Block a user