wxBORDER_THEME now means 'use an appropriate themed border' on all plaforms

as opposed to wxBORDER_NONE which may or may not show a border, depending on control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-09-18 10:48:05 +00:00
parent 9bcc8016c1
commit 78cd9c69eb
7 changed files with 32 additions and 29 deletions

View File

@@ -1387,7 +1387,7 @@ protected:
// this allows you to implement standard control borders without
// repeating the code in different classes that are not derived from
// wxControl
virtual wxBorder GetDefaultBorderForControl() const { return wxWindowBase::GetDefaultBorder(); }
virtual wxBorder GetDefaultBorderForControl() const { return wxBORDER_SUNKEN; }
// Get the default size for the new window if no explicit size given. TLWs
// have their own default size so this is just for non top-level windows.