// unix
//
#if defined(__WXGTK__)
- rect.Inflate(rect.x ? 1 : 0, rect.y ? 1 : 0);
+ if (rect.x != 0)
+ {
+ rect.x += 1;
+ rect.y += 1;
+ rect.width -= 1;
+ rect.height -= 1;
+ }
#else // !GTK
int extra_x = ( rect.x > 2 )? 2 : 1;
int extra_y = ( rect.y > 2 )? 2 : 1;
new wxGridCellEditorEvtHandler(this, editor));
}
+ editor->Show( TRUE, attr );
+
editor->SetSize( rect );
- editor->Show( TRUE, attr );
editor->BeginEdit(row, col, this);
attr->DecRef();
}
new_size.x = size_best.x;
if (new_size.y == -1)
new_size.y = size_best.y;
+ if (new_size.y > size_best.y)
+ new_size.y = size_best.y;
if ((new_size.x != size.x) || (new_size.y != size.y))
SetSize( new_size.x, new_size.y );
new_size.x = size_best.x;
if (new_size.y == -1)
new_size.y = size_best.y;
+ if (new_size.y > size_best.y)
+ new_size.y = size_best.y;
if ((new_size.x != size.x) || (new_size.y != size.y))
SetSize( new_size.x, new_size.y );
%{pref}/include/wx/*
%dir %{pref}/lib/wx
%{pref}/lib/wx/*
+%attr(755, -, -) %{pref}/bin/wxgtk-config
%attr(755, -, -) %{pref}/bin/wx-config
# Note that this is NOT a relocatable package
%define pref /usr
-%define ver 2.1.0
-%define rel 8
+%define ver 2.1.14
+%define rel 0
Summary: The Motif port of the wxWindows library
Name: wxMotif