X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0d5b49cfb51c5bed477dec3cb413ef40e1612b3e..f5ca194a78346c24a526d125cb47c2ef8b44cf0a:/src/msw/control.cpp diff --git a/src/msw/control.cpp b/src/msw/control.cpp index 99c79bcaa3..2f1ae919e7 100644 --- a/src/msw/control.cpp +++ b/src/msw/control.cpp @@ -228,14 +228,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname, wxBorder wxControl::GetDefaultBorder() const { - // we want to automatically give controls a sunken style (confusingly, - // it may not really mean sunken at all as we map it to WS_EX_CLIENTEDGE - // which is not sunken at all under Windows XP -- rather, just the default) -#if defined(__POCKETPC__) || defined(__SMARTPHONE__) - return wxBORDER_SIMPLE; -#else - return wxBORDER_SUNKEN; -#endif + return GetDefaultBorderForControl(); } WXDWORD wxControl::MSWGetStyle(long style, WXDWORD *exstyle) const