X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..85ac8ca017a0409e9762ed305ccc1d32a7c28fa7:/src/msw/colordlg.cpp?ds=sidebyside diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index 84ad0389ec..53eed0cca9 100644 --- a/src/msw/colordlg.cpp +++ b/src/msw/colordlg.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "colordlg.h" #endif @@ -42,9 +42,7 @@ #include "wx/msgdlg.h" #endif -#if wxUSE_COLOURDLG - -#include +#if wxUSE_COLOURDLG && !defined(__SMARTPHONE__) #include "wx/msw/private.h" #include "wx/colordlg.h" @@ -72,10 +70,11 @@ IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog) // colour dialog hook proc // ---------------------------------------------------------------------------- -UINT CALLBACK wxColourDialogHookProc(HWND hwnd, - UINT uiMsg, - WPARAM WXUNUSED(wParam), - LPARAM lParam) +UINT_PTR CALLBACK +wxColourDialogHookProc(HWND hwnd, + UINT uiMsg, + WPARAM WXUNUSED(wParam), + LPARAM lParam) { if ( uiMsg == WM_INITDIALOG ) {