]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/toplevel.cpp
Applied patch [ 735304 ] wxDisplay::ChangeMode - does not resize full-screen windows
[wxWidgets.git] / src / mac / toplevel.cpp
index 34db5c2604c57c1639328d483fa4de4f93ee2318..dd928635f1fce1df512882ddefcf1f49c42b9dc4 100644 (file)
@@ -844,7 +844,7 @@ void wxTopLevelWindowMac::MacFireMouseEvent(
 
     if ( kind == mouseDown )
     {
-        if ( timestamp - gs_lastWhen <= GetDblTime() )
+        if ( timestamp - gs_lastWhen <= (long) GetDblTime() )
         {
             if ( abs( localwhere.h - gs_lastWhere.h ) < 3 && abs( localwhere.v - gs_lastWhere.v ) < 3 )
             {