ugly compilation fix for wxMotif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
703f03c342
commit
51a9ecbc68
@ -466,6 +466,11 @@ void wxMultiChoiceDialog::SetSelections(const wxArrayInt& selections)
|
|||||||
|
|
||||||
bool wxMultiChoiceDialog::TransferDataFromWindow()
|
bool wxMultiChoiceDialog::TransferDataFromWindow()
|
||||||
{
|
{
|
||||||
|
// VZ: I hate to do it but I can't fix wxMotif right now (FIXME)
|
||||||
|
#ifdef __WXMOTIF__
|
||||||
|
#define IsSelected Selected
|
||||||
|
#endif
|
||||||
|
|
||||||
m_selections.Empty();
|
m_selections.Empty();
|
||||||
size_t count = m_listbox->GetCount();
|
size_t count = m_listbox->GetCount();
|
||||||
for ( size_t n = 0; n < count; n++ )
|
for ( size_t n = 0; n < count; n++ )
|
||||||
|
Loading…
Reference in New Issue
Block a user