mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Move buttons in landscape mode for color sel dialogs too.
This commit is contained in:
parent
3e934624a4
commit
14eef0a4b8
1 changed files with 4 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue