From 2d0ac3d0270b09c60a0b9502e4bdd5ad17481007 Mon Sep 17 00:00:00 2001 From: Tim S Date: Mon, 8 May 2017 09:45:08 -0400 Subject: [PATCH] Added wxUSE_WXDIB guard to Toolbar sample. --- samples/toolbar/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/toolbar/toolbar.cpp b/samples/toolbar/toolbar.cpp index ea3134bded..efe6a6a959 100644 --- a/samples/toolbar/toolbar.cpp +++ b/samples/toolbar/toolbar.cpp @@ -36,7 +36,7 @@ // define this to use XPMs everywhere (by default, BMPs are used under Win) // BMPs use less space, but aren't compiled into the executable on other platforms -#ifdef __WINDOWS__ +#if defined(__WINDOWS__) && wxUSE_WXDIB #define USE_XPM_BITMAPS 0 #else #define USE_XPM_BITMAPS 1