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:
@@ -1286,11 +1286,6 @@ void wxWindowMSW::MSWUpdateStyle(long flagsOld, long exflagsOld)
|
||||
}
|
||||
}
|
||||
|
||||
wxBorder wxWindowMSW::GetDefaultBorder() const
|
||||
{
|
||||
return GetDefaultBorderForControl();
|
||||
}
|
||||
|
||||
wxBorder wxWindowMSW::GetDefaultBorderForControl() const
|
||||
{
|
||||
// we want to automatically give controls a sunken style (confusingly,
|
||||
@@ -1312,6 +1307,11 @@ wxBorder wxWindowMSW::GetDefaultBorderForControl() const
|
||||
#endif
|
||||
}
|
||||
|
||||
wxBorder wxWindowMSW::GetDefaultBorder() const
|
||||
{
|
||||
return GetDefaultBorderForControl();
|
||||
}
|
||||
|
||||
WXDWORD wxWindowMSW::MSWGetStyle(long flags, WXDWORD *exstyle) const
|
||||
{
|
||||
// translate common wxWidgets styles to Windows ones
|
||||
|
Reference in New Issue
Block a user