From 56050fff5adad3ac8144534e075ce590772fc043 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 4 Mar 2006 15:56:31 +0000 Subject: [PATCH] colorsel dialog works now on wince, so remove warning dialog --- wince/ceclrsel.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/wince/ceclrsel.c b/wince/ceclrsel.c index 8f8a024df..a976cb3c8 100644 --- a/wince/ceclrsel.c +++ b/wince/ceclrsel.c @@ -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 */