mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
Move buttons in landscape mode for color sel dialogs too.
This commit is contained in:
parent
c2ddb62591
commit
62fe2be84b
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->cancelled = XP_TRUE;
|
||||||
eState->inited = XP_FALSE;
|
eState->inited = XP_FALSE;
|
||||||
|
|
||||||
|
ceStackButtonsRight( eState->globals, hDlg );
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} else {
|
} else {
|
||||||
eState = (ClrEditDlgState*)GetWindowLong( hDlg, GWL_USERDATA );
|
eState = (ClrEditDlgState*)GetWindowLong( hDlg, GWL_USERDATA );
|
||||||
|
@ -358,6 +360,8 @@ ColorsDlg( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam )
|
||||||
cState->cancelled = XP_TRUE;
|
cState->cancelled = XP_TRUE;
|
||||||
cState->inited = XP_FALSE;
|
cState->inited = XP_FALSE;
|
||||||
|
|
||||||
|
ceStackButtonsRight( cState->globals, hDlg );
|
||||||
|
|
||||||
result = TRUE;
|
result = TRUE;
|
||||||
} else {
|
} else {
|
||||||
cState = (ColorsDlgState*)GetWindowLong( hDlg, GWL_USERDATA );
|
cState = (ColorsDlgState*)GetWindowLong( hDlg, GWL_USERDATA );
|
||||||
|
|
Loading…
Reference in a new issue