Add small border on non-wxMAC platforms. Needs testing with wxWidgets 2.9.x on wxMSW + wxGTK.
This commit is contained in:
parent
c1e2bc5bd7
commit
5518ac9fa6
1 changed files with 2 additions and 1 deletions
|
@ -145,7 +145,8 @@ sub BUILD {
|
|||
}
|
||||
}
|
||||
|
||||
$self->sizer->Add($grid_sizer, 0, wxEXPAND);
|
||||
# TODO: border size may be related to wxWidgets 2.8.x vs. 2.9.x instead of wxMAC specific
|
||||
$self->sizer->Add($grid_sizer, 0, wxEXPAND | wxALL, &Wx::wxMAC ? 0 : 5);
|
||||
}
|
||||
|
||||
sub _option {
|
||||
|
|
Loading…
Reference in a new issue