X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cfa822b8f1736a137a4189470ec90f4b95095381..ee3510132b8b4160f848bd4f502a6f5315f90dbc:/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