added GAUGE standard colour and use it in DrawProgressBar() if the colour
hadn't bee nset explicitly git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1297,7 +1297,7 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const
|
||||
#if defined(COLOR_3DDKSHADOW)
|
||||
case SHADOW_DARK: return wxColour(GetSysColor(COLOR_3DDKSHADOW));
|
||||
#else
|
||||
case SHADOW_DARK: return *wxBLACK;
|
||||
case SHADOW_DARK: return wxColour(GetSysColor(COLOR_3DHADOW));
|
||||
#endif
|
||||
|
||||
case CONTROL_TEXT_DISABLED:
|
||||
@@ -1348,6 +1348,8 @@ wxColour wxWin32ColourScheme::Get(wxWin32ColourScheme::StdColour col) const
|
||||
case DESKTOP: return wxColour(0x808000);
|
||||
#endif // __WXMSW__
|
||||
|
||||
case GAUGE: return Get(HIGHLIGHT);
|
||||
|
||||
case MAX:
|
||||
default:
|
||||
wxFAIL_MSG(_T("invalid standard colour"));
|
||||
|
||||
Reference in New Issue
Block a user