X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ca375c5620209d77a88d2d378bdcdedbc82e7e..931d6a47c32a5b4c283243cb553ce71ee2b535d5:/include/wx/generic/private/timer.h diff --git a/include/wx/generic/private/timer.h b/include/wx/generic/private/timer.h index 9db8f41489..6d96389ce8 100644 --- a/include/wx/generic/private/timer.h +++ b/include/wx/generic/private/timer.h @@ -2,15 +2,15 @@ // Name: wx/generic/private/timer.h // Purpose: Generic implementation of wxTimer class // Author: Vaclav Slavik -// Id: $Id$ // Copyright: (c) Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef _WX_GENERIC_PRIVATE_TIMER_H_ #define _WX_GENERIC_PRIVATE_TIMER_H_ +#if wxUSE_TIMER + #include "wx/private/timer.h" //----------------------------------------------------------------------------- @@ -19,7 +19,7 @@ class wxTimerDesc; -class WXDLLEXPORT wxGenericTimerImpl : public wxTimerImpl +class WXDLLIMPEXP_BASE wxGenericTimerImpl : public wxTimerImpl { public: wxGenericTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { Init(); } @@ -40,4 +40,6 @@ private: wxTimerDesc *m_desc; }; +#endif // wxUSE_TIMER + #endif // _WX_GENERIC_PRIVATE_TIMER_H_