]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/tbarbase.cpp
HP-UX gcc compilation fixes
[wxWidgets.git] / src / common / tbarbase.cpp
index b71f343ad536376d25820297f85207dfadd3f847..751873f2b36ee9c607706c091bf7df3ad7f16b47 100644 (file)
@@ -724,7 +724,13 @@ void wxToolBarBase::ViewStart (int *x, int *y) const
   *y = m_yScrollPosition;
 }
 
-void wxToolBarBase::OnIdle(wxIdleEvent& event)
+void wxToolBarBase::OnIdle(wxIdleEvent&
+#ifdef __WXGTK__
+                            WXUNUSED(event)
+#else
+                            event
+#endif
+                          )
 {
 #ifndef __WXGTK__
     wxWindow::OnIdle(event);
@@ -762,12 +768,4 @@ void wxToolBarBase::DoToolbarUpdates()
     }
 }
 
-#ifdef __WXMSW__
-// Circumvent wxControl::MSWOnMouseMove which doesn't set the cursor.
-void wxToolBarBase::MSWOnMouseMove(int x, int y, WXUINT flags)
-{
-    wxWindow::MSWOnMouseMove(x, y, flags);
-}
-#endif
-
 #endif