allow compilation with wxUSE_DATETIME == 0 (patch 679822)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
#define wxGRID_VALUE_CHOICEINT _T("choiceint")
|
||||
#define wxGRID_VALUE_DATETIME _T("datetime")
|
||||
|
||||
#if wxUSE_DATETIME
|
||||
|
||||
// the default renderer for the cells containing Time and dates..
|
||||
class WXDLLEXPORT wxGridCellDateTimeRenderer : public wxGridCellStringRenderer
|
||||
{
|
||||
@@ -59,6 +61,7 @@ protected:
|
||||
wxDateTime::TimeZone m_tz;
|
||||
};
|
||||
|
||||
#endif // wxUSE_DATETIME
|
||||
|
||||
// the default renderer for the cells containing Time and dates..
|
||||
class WXDLLEXPORT wxGridCellEnumRenderer : public wxGridCellStringRenderer
|
||||
|
Reference in New Issue
Block a user