mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-20 22:26:54 +01:00
colorsel dialog works now on wince, so remove warning dialog
This commit is contained in:
parent
523798cd3a
commit
56050fff5a
1 changed files with 2 additions and 9 deletions
|
@ -407,20 +407,14 @@ ColorsDlg( HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam )
|
||||||
XP_Bool
|
XP_Bool
|
||||||
ceDoColorsEdit( HWND hwnd, CEAppGlobals* globals, COLORREF* colors )
|
ceDoColorsEdit( HWND hwnd, CEAppGlobals* globals, COLORREF* colors )
|
||||||
{
|
{
|
||||||
#ifdef _WIN32_WCE
|
|
||||||
MessageBox( globals->hWnd,
|
|
||||||
L"Color selection will be fixed in the next Beta.",
|
|
||||||
L"Sorry...", MB_OK );
|
|
||||||
return XP_FALSE;
|
|
||||||
#else
|
|
||||||
ColorsDlgState state;
|
ColorsDlgState state;
|
||||||
|
|
||||||
XP_MEMSET( &state, 0, sizeof(state) );
|
XP_MEMSET( &state, 0, sizeof(state) );
|
||||||
state.globals = globals;
|
state.globals = globals;
|
||||||
state.inColors = colors;
|
state.inColors = colors;
|
||||||
|
|
||||||
(void)DH(DialogBoxParam)( globals->hInst, (LPCTSTR)IDD_COLORSDLG, hwnd,
|
(void)DialogBoxParam( globals->hInst, (LPCTSTR)IDD_COLORSDLG, hwnd,
|
||||||
(DLGPROC)ColorsDlg, (long)&state );
|
(DLGPROC)ColorsDlg, (long)&state );
|
||||||
|
|
||||||
if ( !state.cancelled ) {
|
if ( !state.cancelled ) {
|
||||||
XP_U16 i;
|
XP_U16 i;
|
||||||
|
@ -430,5 +424,4 @@ ceDoColorsEdit( HWND hwnd, CEAppGlobals* globals, COLORREF* colors )
|
||||||
}
|
}
|
||||||
|
|
||||||
return !state.cancelled;
|
return !state.cancelled;
|
||||||
#endif
|
|
||||||
} /* ceDoColorsEdit */
|
} /* ceDoColorsEdit */
|
||||||
|
|
Loading…
Reference in a new issue