1. fixed bug with the accels in sub menus not working
2. fixed minor bugs in wxCmdLineParser, underscores and digits are now allows in the option names 3. made wxGetLocalTimeMillis() public, documented it and other time functions, added wxDateTime::UNow(), also "%l" format specificator in wxDateTime::Format() 4. fixed fatal bug in wxTimeSpan::Format() 5. fixed nice bug in wxDateTime::Subtract(wxDateTime) which returned the result with the wrong sign git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -222,10 +222,13 @@ long WXDLLEXPORT wxGetElapsedTime(bool resetTimer = TRUE);
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
// Get number of seconds since local time 00:00:00 Jan 1st 1970.
|
||||
long WXDLLEXPORT wxGetLocalTime();
|
||||
extern long WXDLLEXPORT wxGetLocalTime();
|
||||
|
||||
// Get number of seconds since GMT 00:00:00, Jan 1st 1970.
|
||||
long WXDLLEXPORT wxGetUTCTime();
|
||||
extern long WXDLLEXPORT wxGetUTCTime();
|
||||
|
||||
// Get number of milliseconds since local time 00:00:00 Jan 1st 1970
|
||||
extern wxLongLong WXDLLEXPORT wxGetLocalTimeMillis();
|
||||
|
||||
#define wxGetCurrentTime() wxGetLocalTime()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user