From: Mattia Barbon Date: Sat, 5 Jun 2004 20:49:42 +0000 (+0000) Subject: Warning fixes. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c1a48eafdfa581815802599f23b21f1711e54a3c Warning fixes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/dnd/dnd.cpp b/samples/dnd/dnd.cpp index 9ca61d3964..203fe37303 100644 --- a/samples/dnd/dnd.cpp +++ b/samples/dnd/dnd.cpp @@ -37,11 +37,12 @@ #if defined(__WXGTK__) || defined(__WXX11__) || defined(__WXMOTIF__) || defined(__WXMAC__) #include "mondrian.xpm" - +#if wxUSE_DRAG_AND_DROP #include "dnd_copy.xpm" #include "dnd_move.xpm" #include "dnd_none.xpm" #endif +#endif #if wxUSE_DRAG_AND_DROP diff --git a/samples/menu/menu.cpp b/samples/menu/menu.cpp index 7d043f321e..3665eebae1 100644 --- a/samples/menu/menu.cpp +++ b/samples/menu/menu.cpp @@ -55,7 +55,9 @@ #define USE_LOG_WINDOW 0 #endif +#if wxUSE_OWNER_DRAWN #include "copy.xpm" +#endif // ---------------------------------------------------------------------------- // classes