projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First part of '[ 1216148 ] cleanup: unused variables and declarations'.
[wxWidgets.git]
/
include
/
wx
/
msw
/
timer.h
diff --git
a/include/wx/msw/timer.h
b/include/wx/msw/timer.h
index 104a7fffb083d74b680c1a40dbb5f722b6dd7d14..ffa150e111c6a4b4224c4b092bc92aa67679b7b9 100644
(file)
--- a/
include/wx/msw/timer.h
+++ b/
include/wx/msw/timer.h
@@
-12,7
+12,7
@@
#ifndef _WX_TIMER_H_
#define _WX_TIMER_H_
#ifndef _WX_TIMER_H_
#define _WX_TIMER_H_
-#if
def __GNUG__
+#if
defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "timer.h"
#endif
#pragma interface "timer.h"
#endif
@@
-22,11
+22,11
@@
friend void wxProcessTimer(wxTimer& timer);
public:
wxTimer() { Init(); }
public:
wxTimer() { Init(); }
- wxTimer(wxEvtHandler *owner, int id =
-1
) : wxTimerBase(owner, id)
+ wxTimer(wxEvtHandler *owner, int id =
wxID_ANY
) : wxTimerBase(owner, id)
{ Init(); }
~wxTimer();
{ Init(); }
~wxTimer();
- virtual bool Start(int milliseconds = -1, bool oneShot =
FALSE
);
+ virtual bool Start(int milliseconds = -1, bool oneShot =
false
);
virtual void Stop();
virtual bool IsRunning() const { return m_id != 0; }
virtual void Stop();
virtual bool IsRunning() const { return m_id != 0; }
@@
-34,10
+34,10
@@
public:
protected:
void Init();
protected:
void Init();
- long m_id;
+
unsigned
long m_id;
private:
private:
- DECLARE_
ABSTRACT_CLASS
(wxTimer)
+ DECLARE_
DYNAMIC_CLASS_NO_COPY
(wxTimer)
};
#endif
};
#endif