]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/scrarrow.cpp
m_font may not have been set yet. Default to letting GetTextExtent
[wxWidgets.git] / src / univ / scrarrow.cpp
index 48d669cf0d928bbbc197f50712b3a9b7e8b970d7..9680ecc27715f272b5b63b7aa6cdf5750f5b8a1c 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univscrarrow.h"
 #endif
 
@@ -187,7 +187,7 @@ bool wxScrollArrows::HandleMouseMove(const wxMouseEvent& event) const
                 return TRUE;
             }
         }
-        else if ( 1 ) //FIXME: m_control->ShouldPauseScrolling() )
+        else // if ( 1 ) FIXME: m_control->ShouldPauseScrolling() )
         {
             // we may want to stop it
             if ( arrow != m_captureData->m_arrowPressed )