From: Stefan Csomor Date: Thu, 11 Sep 2008 16:32:03 +0000 (+0000) Subject: fixes #9951 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e0e2cbbe946954db58b28aab3d9cc207987a6a5a fixes #9951 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/osx/carbon/frame.h b/include/wx/osx/carbon/frame.h index 8ed5ff1937..380fbf624e 100644 --- a/include/wx/osx/carbon/frame.h +++ b/include/wx/osx/carbon/frame.h @@ -109,7 +109,7 @@ protected: #endif // osx specific event handling common for all osx-ports - virtual void HandleResized( long timestamp ); + virtual void HandleResized( double timestampsec ); protected: // the last focused child: we restore focus to it on activation diff --git a/src/osx/carbon/frame.cpp b/src/osx/carbon/frame.cpp index 17df9bcf0d..5c2ada2de0 100644 --- a/src/osx/carbon/frame.cpp +++ b/src/osx/carbon/frame.cpp @@ -215,14 +215,14 @@ void wxFrame::OnActivate(wxActivateEvent& event) } } -void wxFrame::HandleResized( long timestamp ) +void wxFrame::HandleResized( double timestampsec ) { // according to the other ports we handle this within the OS level // resize event, not within a wxSizeEvent PositionBars(); - wxNonOwnedWindow::HandleResized( timestamp ); + wxNonOwnedWindow::HandleResized( timestampsec ); } #if wxUSE_MENUS