No changes, just removed hard tabs and trailing white space.
This commit is huge but there are no non-white-space changes in it. Some files containing third-party sources (src/msw/wince/time.cpp, src/x11/pango*.cpp) were left unchanged. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,7 +87,7 @@ static void size_allocate(GtkWidget* widget, GtkAllocation* alloc)
|
||||
}
|
||||
|
||||
widget->allocation = *alloc;
|
||||
|
||||
|
||||
// adjust child positions
|
||||
for (const GList* list = pizza->m_fixed.children; list; list = list->next)
|
||||
{
|
||||
@@ -95,7 +95,7 @@ static void size_allocate(GtkWidget* widget, GtkAllocation* alloc)
|
||||
if (GTK_WIDGET_VISIBLE(child->widget))
|
||||
{
|
||||
GtkAllocation child_old_alloc = child->widget->allocation;
|
||||
|
||||
|
||||
GtkAllocation child_alloc;
|
||||
// note that child positions do not take border into
|
||||
// account, they need to be relative to widget->window,
|
||||
@@ -342,7 +342,7 @@ static void scroll_adjust(GtkWidget* widget, void* data)
|
||||
const AdjustData* p = static_cast<AdjustData*>(data);
|
||||
widget->allocation.x += p->dx;
|
||||
widget->allocation.y += p->dy;
|
||||
|
||||
|
||||
if (widget->window == p->window)
|
||||
{
|
||||
// GtkFrame requires a queue_resize, otherwise parts of
|
||||
@@ -377,24 +377,24 @@ void wxPizza::get_border_widths(int& x, int& y)
|
||||
x = y = 0;
|
||||
if (m_border_style == 0)
|
||||
return;
|
||||
|
||||
|
||||
#ifndef __WXUNIVERSAL__
|
||||
if (m_border_style & wxBORDER_SIMPLE)
|
||||
x = y = 1;
|
||||
else if (m_is_scrollable || (m_border_style & wxBORDER_THEME))
|
||||
{
|
||||
GtkWidget *style_widget = wxGTKPrivate::GetTreeWidget();
|
||||
|
||||
|
||||
if (style_widget->style)
|
||||
{
|
||||
x = style_widget->style->xthickness;
|
||||
y = style_widget->style->ythickness;
|
||||
}
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
GtkWidget *style_widget = wxGTKPrivate::GetEntryWidget();
|
||||
|
||||
|
||||
if (style_widget->style)
|
||||
{
|
||||
x = style_widget->style->xthickness;
|
||||
|
Reference in New Issue
Block a user