Use flat generic status bar by default and add wxSB_SUNKEN.
GTK+ applications don't use sunken status bars since many years, do don't do it in wxWidgets neither by default any more. Add wxSB_SUNKEN style that can be explicitly used if the old appearance is desired. Closes #15009. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -87,6 +87,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
|
||||
style[i] = wxSB_FLAT;
|
||||
else if (first == wxT("wxSB_RAISED"))
|
||||
style[i] = wxSB_RAISED;
|
||||
else if (first == wxT("wxSB_SUNKEN"))
|
||||
style[i] = wxSB_SUNKEN;
|
||||
else if (!first.empty())
|
||||
{
|
||||
ReportParamError
|
||||
|
Reference in New Issue
Block a user