mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-14 08:01:38 +01:00
force update scroll info when changing the set of visible widgets. fixes bug where smartphone didn't scroll prefs dlg after switch to global prefs.
This commit is contained in:
parent
cc24c63dd9
commit
a0fa8f94da
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* -*- mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
/* -*- fill-column: 77; c-basic-offset: 4; compile-command: "make TARGET_OS=wince DEBUG=TRUE" -*- */
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 by Eric House (xwords@eehouse.org). All rights reserved.
|
* Copyright 2002-2009 by Eric House (xwords@eehouse.org). All rights reserved.
|
||||||
*
|
*
|
||||||
|
@ -126,6 +126,12 @@ adjustForChoice( CePrefsDlgState* state )
|
||||||
#endif
|
#endif
|
||||||
ceDlgComboShowHide( &state->dlgHdr, PHONIES_COMBO );
|
ceDlgComboShowHide( &state->dlgHdr, PHONIES_COMBO );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32_WCE
|
||||||
|
if ( IS_SMARTPHONE(state->dlgHdr.globals) ) {
|
||||||
|
SendMessage( hDlg, DM_RESETSCROLL, (WPARAM)FALSE, (LPARAM)TRUE );
|
||||||
|
}
|
||||||
|
#endif
|
||||||
} /* adjustForChoice */
|
} /* adjustForChoice */
|
||||||
|
|
||||||
/* Copy global state into a local copy that can be changed without
|
/* Copy global state into a local copy that can be changed without
|
||||||
|
|
Loading…
Reference in a new issue