From 5518ac9fa6d21161c15b4c92550e62b90eafecf0 Mon Sep 17 00:00:00 2001
From: Henrik Brix Andersen <henrik@brixandersen.dk>
Date: Thu, 2 Aug 2012 23:19:04 +0200
Subject: [PATCH] Add small border on non-wxMAC platforms. Needs testing with
 wxWidgets 2.9.x on wxMSW + wxGTK.

---
 lib/Slic3r/GUI/OptionsGroup.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/Slic3r/GUI/OptionsGroup.pm b/lib/Slic3r/GUI/OptionsGroup.pm
index 426565481..162fc8793 100644
--- a/lib/Slic3r/GUI/OptionsGroup.pm
+++ b/lib/Slic3r/GUI/OptionsGroup.pm
@@ -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 {