Move buttons in landscape mode for color sel dialogs too.

This commit is contained in:
ehouse 2006-05-27 22:19:30 +00:00
parent 3e934624a4
commit 14eef0a4b8

View file

@ -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 );