Include wx/list.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/window.h"
|
||||
#include "wx/list.h"
|
||||
#include "wx/window.h"
|
||||
#include "wx/event.h"
|
||||
#include "wx/app.h"
|
||||
#endif
|
||||
@@ -96,18 +96,13 @@ void wxTimer::Notify()
|
||||
(void)m_owner->ProcessEvent(vEvent);
|
||||
} // end of wxTimer::Notify
|
||||
|
||||
bool wxTimer::Start(
|
||||
int nMilliseconds
|
||||
, bool bOneShot
|
||||
)
|
||||
bool wxTimer::Start( int nMilliseconds, bool bOneShot )
|
||||
{
|
||||
(void)wxTimerBase::Start( nMilliseconds
|
||||
,bOneShot
|
||||
);
|
||||
(void)wxTimerBase::Start( nMilliseconds, bOneShot );
|
||||
|
||||
wxCHECK_MSG( m_milli > 0L, FALSE, wxT("invalid value for timer") );
|
||||
wxCHECK_MSG( m_milli > 0L, false, wxT("invalid value for timer") );
|
||||
|
||||
wxWindow* pWin = NULL;
|
||||
wxWindow* pWin = NULL;
|
||||
|
||||
if (m_owner)
|
||||
{
|
||||
@@ -148,7 +143,7 @@ bool wxTimer::Start(
|
||||
{
|
||||
wxLogSysError(_("Couldn't create a timer"));
|
||||
|
||||
return(FALSE);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user