]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/scrolbar.cpp
Changes corresponding to patch #841324 from Ian Brown:
[wxWidgets.git] / src / univ / scrolbar.cpp
index 061fabdd8b5e3cf4780e7323f61baba4dce3cd76..8626070f0deed332be11204b4b15adc64e906942 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univscrolbar.h"
 #endif
 
@@ -324,6 +324,7 @@ wxScrollArrows::Arrow wxScrollBar::HitTest(const wxPoint& pt) const
 void wxScrollBar::OnInternalIdle()
 {
     UpdateThumb();
+    wxControl::OnInternalIdle();
 }
 
 void wxScrollBar::UpdateThumb()