diff options
Diffstat (limited to 'wx+/grid.cpp')
-rw-r--r-- | wx+/grid.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wx+/grid.cpp b/wx+/grid.cpp index 94bcadd9..13c06704 100644 --- a/wx+/grid.cpp +++ b/wx+/grid.cpp @@ -188,7 +188,7 @@ wxSize GridData::drawCellText(wxDC& dc, const wxRect& rect, const std::wstring& RecursiveDcClipper clip(dc, rect); dc.DrawText(textTrunc, pt); - return extentTrunc; + return extentTrunc; } @@ -1151,9 +1151,9 @@ private: void evalMousePos() { - const auto now = std::chrono::steady_clock::now(); - const double deltaSecs = std::chrono::duration<double>(now - lastEvalTime).count(); //unit: [sec] - lastEvalTime = now; + const auto now = std::chrono::steady_clock::now(); + const double deltaSecs = std::chrono::duration<double>(now - lastEvalTime).count(); //unit: [sec] + lastEvalTime = now; const wxPoint clientPos = wnd_.ScreenToClient(wxGetMousePosition()); const wxSize clientSize = wnd_.GetClientSize(); |