Extracted private GetTimeZone() to public wxGetTimeZone() function.
Created new wx/time.h header for this function, more time-related functions will be added to it later. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
17
include/wx/time.h
Normal file
17
include/wx/time.h
Normal file
@@ -0,0 +1,17 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: wx/time.h
|
||||
// Purpose: Miscellaneous time-related functions.
|
||||
// Author: Vadim Zeitlin
|
||||
// Created: 2011-11-26
|
||||
// RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
|
||||
// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||
// Licence: wxWindows licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef _WX_TIME_H_
|
||||
#define _WX_TIME_H_
|
||||
|
||||
// Returns the difference between UTC and local time in seconds.
|
||||
WXDLLIMPEXP_BASE int wxGetTimeZone();
|
||||
|
||||
#endif // _WX_TIME_H_
|
Reference in New Issue
Block a user