no changes, just de TABified

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-12-03 13:59:40 +00:00
parent a9796db88f
commit fcb29b2338

View File

@@ -1606,12 +1606,10 @@ gtk_window_button_press_callback( GtkWidget *widget,
event.SetEventObject( win ); event.SetEventObject( win );
event.SetId( win->GetId() ); event.SetId( win->GetId() );
if (win->GTKProcessEvent( event )) bool ret = win->GTKProcessEvent( event );
{
g_lastMouseEvent = NULL;
return TRUE;
}
g_lastMouseEvent = NULL; g_lastMouseEvent = NULL;
if ( ret )
return TRUE;
if (event_type == wxEVT_RIGHT_DOWN) if (event_type == wxEVT_RIGHT_DOWN)
{ {
@@ -4265,19 +4263,19 @@ void wxWindowGTK::ScrollWindow( int dx, int dy, const wxRect* WXUNUSED(rect) )
if (dx > 0) if (dx > 0)
caretRect.width += dx; caretRect.width += dx;
else else
{ {
caretRect.x += dx; caretRect.width -= dx; caretRect.x += dx; caretRect.width -= dx;
} }
if (dy > 0) if (dy > 0)
caretRect.height += dy; caretRect.height += dy;
else else
{ {
caretRect.y += dy; caretRect.height -= dy; caretRect.y += dy; caretRect.height -= dy;
} }
RefreshRect(caretRect); RefreshRect(caretRect);
} }
#endif #endif // wxUSE_CARET
} }
void wxWindowGTK::GtkScrolledWindowSetBorder(GtkWidget* w, int wxstyle) void wxWindowGTK::GtkScrolledWindowSetBorder(GtkWidget* w, int wxstyle)