add const qualifiers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,30 +60,30 @@ public:
|
||||
/**
|
||||
Returns the ID of the events generated by this timer.
|
||||
*/
|
||||
int GetId();
|
||||
int GetId() const;
|
||||
|
||||
/**
|
||||
Returns the current interval for the timer (in milliseconds).
|
||||
*/
|
||||
int GetInterval();
|
||||
int GetInterval() const;
|
||||
|
||||
/**
|
||||
Returns the current @e owner of the timer.
|
||||
If non-@NULL this is the event handler which will receive the
|
||||
@ref overview_wxtimerevent "timer events" when the timer is running.
|
||||
*/
|
||||
wxEvtHandler GetOwner();
|
||||
wxEvtHandler GetOwner() const;
|
||||
|
||||
/**
|
||||
Returns @true if the timer is one shot, i.e. if it will stop after firing the
|
||||
first notification automatically.
|
||||
*/
|
||||
bool IsOneShot();
|
||||
bool IsOneShot() const;
|
||||
|
||||
/**
|
||||
Returns @true if the timer is running, @false if it is stopped.
|
||||
*/
|
||||
bool IsRunning();
|
||||
bool IsRunning() const;
|
||||
|
||||
/**
|
||||
This member should be overridden by the user if the default constructor was
|
||||
@@ -175,10 +175,10 @@ public:
|
||||
/**
|
||||
Returns the interval of the timer which generated this event.
|
||||
*/
|
||||
int GetInterval();
|
||||
int GetInterval() const;
|
||||
|
||||
/**
|
||||
Returns the timer object which generated this event.
|
||||
*/
|
||||
wxTimer GetTimer();
|
||||
wxTimer GetTimer() const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user