static gboolean
gtk_button_press_event(GtkRange*, GdkEventButton*, wxScrollBar* win)
{
- // don't need to install idle handler, its done from "event" signal
-
win->m_mouseButtonDown = true;
return false;
}
static gboolean
gtk_button_release_event(GtkRange* range, GdkEventButton*, wxScrollBar* win)
{
- // don't need to install idle handler, its done from "event" signal
-
win->m_mouseButtonDown = false;
// If thumb tracking
if (win->m_isScrolling)
const wxPoint& pos, const wxSize& size,
long style, const wxValidator& validator, const wxString& name )
{
- m_needParent = true;
-
if (!PreCreation( parent, pos, size ) ||
!CreateBase( parent, id, pos, size, style, validator, name ))
{
GdkWindow *wxScrollBar::GTKGetWindow(wxArrayGdkWindows& WXUNUSED(windows)) const
{
- return GTK_WIDGET(GTK_RANGE(m_widget))->window;
+ return m_widget->window;
}
// static