From 14eef0a4b8cae137ae2796adf73d995e075f4051 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 27 May 2006 22:19:30 +0000 Subject: [PATCH] Move buttons in landscape mode for color sel dialogs too. --- xwords4/wince/ceclrsel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xwords4/wince/ceclrsel.c b/xwords4/wince/ceclrsel.c index 8d9369eeb..399a3392f 100644 --- a/xwords4/wince/ceclrsel.c +++ b/xwords4/wince/ceclrsel.c @@ -147,6 +147,8 @@ EditColorsDlg( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ) eState->cancelled = XP_TRUE; eState->inited = XP_FALSE; + ceStackButtonsRight( eState->globals, hDlg ); + return TRUE; } else { eState = (ClrEditDlgState*)GetWindowLong( hDlg, GWL_USERDATA ); @@ -358,6 +360,8 @@ ColorsDlg( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam ) cState->cancelled = XP_TRUE; cState->inited = XP_FALSE; + ceStackButtonsRight( cState->globals, hDlg ); + result = TRUE; } else { cState = (ColorsDlgState*)GetWindowLong( hDlg, GWL_USERDATA );