Applied patch [ 1183153 ] [wxGTK] DrawComboBoxDropButton pressed state
Jaakko Salli git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
c497d0b212
commit
3203621a92
@ -430,10 +430,12 @@ wxRendererGTK::DrawDropArrow(wxWindow *win,
|
||||
|
||||
GtkStateType state;
|
||||
|
||||
if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
if ( flags & wxCONTROL_PRESSED )
|
||||
state = GTK_STATE_ACTIVE;
|
||||
else if ( flags & wxCONTROL_DISABLED )
|
||||
state = GTK_STATE_INSENSITIVE;
|
||||
else if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
@ -471,10 +473,12 @@ wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
// draw button
|
||||
GtkStateType state;
|
||||
|
||||
if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
if ( flags & wxCONTROL_PRESSED )
|
||||
state = GTK_STATE_ACTIVE;
|
||||
else if ( flags & wxCONTROL_DISABLED )
|
||||
state = GTK_STATE_INSENSITIVE;
|
||||
else if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
|
@ -430,10 +430,12 @@ wxRendererGTK::DrawDropArrow(wxWindow *win,
|
||||
|
||||
GtkStateType state;
|
||||
|
||||
if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
if ( flags & wxCONTROL_PRESSED )
|
||||
state = GTK_STATE_ACTIVE;
|
||||
else if ( flags & wxCONTROL_DISABLED )
|
||||
state = GTK_STATE_INSENSITIVE;
|
||||
else if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
@ -471,10 +473,12 @@ wxRendererGTK::DrawComboBoxDropButton(wxWindow *win,
|
||||
// draw button
|
||||
GtkStateType state;
|
||||
|
||||
if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
if ( flags & wxCONTROL_PRESSED )
|
||||
state = GTK_STATE_ACTIVE;
|
||||
else if ( flags & wxCONTROL_DISABLED )
|
||||
state = GTK_STATE_INSENSITIVE;
|
||||
else if ( flags & wxCONTROL_CURRENT )
|
||||
state = GTK_STATE_PRELIGHT;
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user