Fix wxDataViewCtrl compilation when wxUSE_SPINCTRL==0
Just don't define wxDataViewSpinRenderer in this case.
This commit is contained in:
committed by
Vadim Zeitlin
parent
154ebfd1d9
commit
9dd48eab61
@@ -358,6 +358,8 @@ private:
|
||||
#error "unknown native wxDataViewCtrl implementation"
|
||||
#endif
|
||||
|
||||
#if wxUSE_SPINCTRL
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxDataViewSpinRenderer
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -381,6 +383,8 @@ private:
|
||||
long m_min,m_max;
|
||||
};
|
||||
|
||||
#endif // wxUSE_SPINCTRL
|
||||
|
||||
#if defined(wxHAS_GENERIC_DATAVIEWCTRL) || defined(__WXOSX_CARBON__)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user