]> git.saurik.com Git - wxWidgets.git/blame_incremental - tests/benchmarks/datetime.cpp
Ensure that detached menus don't keep focus grab in wxGTK.
[wxWidgets.git] / tests / benchmarks / datetime.cpp
... / ...
CommitLineData
1/////////////////////////////////////////////////////////////////////////////
2// Name: tests/benchmarks/datetime.cpp
3// Purpose: wxDateTime benchmarks
4// Author: Vadim Zeitlin
5// Created: 2011-05-23
6// RCS-ID: $Id$
7// Copyright: (c) 2011 Vadim Zeitlin <vadim@wxwidgets.org>
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#include "wx/datetime.h"
12
13#include "bench.h"
14
15BENCHMARK_FUNC(ParseDate)
16{
17 wxDateTime dt;
18 return dt.ParseDate("May 23, 2011") && dt.GetMonth() == wxDateTime::May;
19}
20