X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e0f753950f9c3fe004818b9d7ba733a22bd169d..5e60a12a069e1e7e8213d41c8d3243e7d3b0913e:/src/common/wincmn.cpp?ds=sidebyside diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 13ccfb0e47..307f2c1c64 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -2348,9 +2348,9 @@ void wxWindowBase::OnMiddleClick( wxMouseEvent& event ) wxMessageBox(msg, _T("wxWidgets information"), wxICON_INFORMATION | wxOK, (wxWindow *)this); +#endif // wxUSE_MSGDLG } else -#endif // wxUSE_MSGDLG { event.Skip(); } @@ -2415,6 +2415,10 @@ wxBorder wxWindowBase::GetBorder(long flags) const { border = GetDefaultBorder(); } + else if ( border == wxBORDER_THEME ) + { + border = GetDefaultBorderForControl(); + } return border; }