X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4676948b6814c97b93c431a8cbcd8c0352c87ba9..63fa42b3bedaf167004c95cc46339849ee9d7424:/src/msw/colordlg.cpp diff --git a/src/msw/colordlg.cpp b/src/msw/colordlg.cpp index 84ad0389ec..66af5ffcf7 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 && !wxUSE_SMARTPHONE #include "wx/msw/private.h" #include "wx/colordlg.h"