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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user