X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfa822b8f1736a137a4189470ec90f4b95095381..4b2424bcadbc87babd3367d243b957e49333eeae:/src/msw/statline.cpp diff --git a/src/msw/statline.cpp b/src/msw/statline.cpp index 7535fee4c4..088e4e2d39 100644 --- a/src/msw/statline.cpp +++ b/src/msw/statline.cpp @@ -69,6 +69,10 @@ bool wxStaticLine::Create(wxWindow *parent, WXDWORD wxStaticLine::MSWGetStyle(long style, WXDWORD *exstyle) const { + // we never have border + style &= ~wxBORDER_MASK; + style |= wxBORDER_NONE; + WXDWORD msStyle = wxControl::MSWGetStyle(style, exstyle); // add our default styles