added wxTimeSpan::Millisecond[s]() for consistency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1114,6 +1114,10 @@ public:
|
||||
// constructors
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
// return the timespan for the given number of milliseconds
|
||||
static wxTimeSpan Milliseconds(wxLongLong ms) { return wxTimeSpan(0, 0, 0, ms); }
|
||||
static wxTimeSpan Millisecond() { return Milliseconds(1); }
|
||||
|
||||
// return the timespan for the given number of seconds
|
||||
static wxTimeSpan Seconds(wxLongLong sec) { return wxTimeSpan(0, 0, sec); }
|
||||
static wxTimeSpan Second() { return Seconds(1); }
|
||||
|
Reference in New Issue
Block a user