X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fae866418727b6ee9e524b754cd70a18e5b80c62..1a8e8d694bdcaec228f59a55f2aca1dfea0679db:/src/common/wincmn.cpp diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index a48533d968..307f2c1c64 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -2415,6 +2415,10 @@ wxBorder wxWindowBase::GetBorder(long flags) const { border = GetDefaultBorder(); } + else if ( border == wxBORDER_THEME ) + { + border = GetDefaultBorderForControl(); + } return border; }