Add small border on non-wxMAC platforms. Needs testing with wxWidgets 2.9.x on wxMSW + wxGTK.

This commit is contained in:
Henrik Brix Andersen 2012-08-02 23:19:04 +02:00
parent c1e2bc5bd7
commit 5518ac9fa6

View file

@ -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 {