+#define LINE_SIZE 3
+void wxMySeparatorLine::DoSetSize( int x, int y,
+ int width, int height,
+ int sizeFlags)
+{
+ if (width < height)
+ {
+ x += (width - LINE_SIZE) / 2;
+ width = LINE_SIZE;
+ }
+ else
+ {
+ y += (height - LINE_SIZE) / 2;
+ height = LINE_SIZE;
+ }
+
+ wxStaticLine::DoSetSize(x, y, width, height, sizeFlags);
+}