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:
Włodzimierz Skiba
2006-04-20 07:31:44 +00:00
parent 40a0dc1b0e
commit 8ecff18117
32 changed files with 145 additions and 159 deletions

View File

@@ -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;
}
}