Toolbars shouldn't have themed borders

Made it easier to switch off theme borders in wxWindow if necessary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-08-09 15:05:56 +00:00
parent e09200046e
commit 4c0d2cd3d0
4 changed files with 16 additions and 5 deletions

View File

@@ -243,6 +243,11 @@ wxSize wxControl::DoGetBestSize() const
return wxSize(DEFAULT_ITEM_WIDTH, DEFAULT_ITEM_HEIGHT);
}
wxBorder wxControl::GetDefaultBorder() const
{
return GetDefaultBorderForControl();
}
// This is a helper for all wxControls made with UPDOWN native control.
// In wxMSW it was only wxSpinCtrl derived from wxSpinButton but in
// WinCE of Smartphones this happens also for native wxTextCtrl,