mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +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
|
||||
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;
|
||||
|
||||
XP_MEMSET( &state, 0, sizeof(state) );
|
||||
state.globals = globals;
|
||||
state.inColors = colors;
|
||||
|
||||
(void)DH(DialogBoxParam)( globals->hInst, (LPCTSTR)IDD_COLORSDLG, hwnd,
|
||||
(DLGPROC)ColorsDlg, (long)&state );
|
||||
(void)DialogBoxParam( globals->hInst, (LPCTSTR)IDD_COLORSDLG, hwnd,
|
||||
(DLGPROC)ColorsDlg, (long)&state );
|
||||
|
||||
if ( !state.cancelled ) {
|
||||
XP_U16 i;
|
||||
|
@ -430,5 +424,4 @@ ceDoColorsEdit( HWND hwnd, CEAppGlobals* globals, COLORREF* colors )
|
|||
}
|
||||
|
||||
return !state.cancelled;
|
||||
#endif
|
||||
} /* ceDoColorsEdit */
|
||||
|
|
Loading…
Reference in a new issue