Improved whitespace in GetColour() so I can see what I'm doing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -34,7 +34,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
|
|||||||
|
|
||||||
switch( index )
|
switch( index )
|
||||||
{
|
{
|
||||||
case wxSYS_COLOUR_SCROLLBAR :
|
case wxSYS_COLOUR_SCROLLBAR:
|
||||||
case wxSYS_COLOUR_BACKGROUND:
|
case wxSYS_COLOUR_BACKGROUND:
|
||||||
case wxSYS_COLOUR_ACTIVECAPTION:
|
case wxSYS_COLOUR_ACTIVECAPTION:
|
||||||
case wxSYS_COLOUR_INACTIVECAPTION:
|
case wxSYS_COLOUR_INACTIVECAPTION:
|
||||||
@@ -48,7 +48,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
|
|||||||
return wxColor( 0xDD , 0xDD , 0xDD ) ;
|
return wxColor( 0xDD , 0xDD , 0xDD ) ;
|
||||||
break ;
|
break ;
|
||||||
|
|
||||||
case wxSYS_COLOUR_LISTBOX :
|
case wxSYS_COLOUR_LISTBOX:
|
||||||
{
|
{
|
||||||
if (major >= 10)
|
if (major >= 10)
|
||||||
return *wxWHITE ;
|
return *wxWHITE ;
|
||||||
@@ -86,7 +86,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
|
|||||||
case wxSYS_COLOUR_3DLIGHT:
|
case wxSYS_COLOUR_3DLIGHT:
|
||||||
return wxColor( 0xCC , 0xCC , 0xCC ) ;
|
return wxColor( 0xCC , 0xCC , 0xCC ) ;
|
||||||
break ;
|
break ;
|
||||||
case wxSYS_COLOUR_HIGHLIGHTTEXT :
|
case wxSYS_COLOUR_HIGHLIGHTTEXT:
|
||||||
{
|
{
|
||||||
RGBColor hilite ;
|
RGBColor hilite ;
|
||||||
LMGetHiliteRGB(&hilite) ;
|
LMGetHiliteRGB(&hilite) ;
|
||||||
@@ -96,7 +96,7 @@ wxColour wxSystemSettingsNative::GetColour(wxSystemColour index)
|
|||||||
return *wxBLACK ;
|
return *wxBLACK ;
|
||||||
}
|
}
|
||||||
break ;
|
break ;
|
||||||
case wxSYS_COLOUR_INFOBK :
|
case wxSYS_COLOUR_INFOBK:
|
||||||
case wxSYS_COLOUR_APPWORKSPACE:
|
case wxSYS_COLOUR_APPWORKSPACE:
|
||||||
return *wxWHITE ;
|
return *wxWHITE ;
|
||||||
break ;
|
break ;
|
||||||
|
Reference in New Issue
Block a user