]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/toolbar/toolbar.cpp
Handle NULL flags argument in wxOSX wxNotebook::HitTest().
[wxWidgets.git] / samples / toolbar / toolbar.cpp
index 8f8da745bc73870a8019f2c9a0374bb3223d7cf9..f996ac59f0bf9db5459d523ec61f1d260e4dd483 100644 (file)
     #define USE_XPM_BITMAPS 1
 #endif
 
-#if USE_XPM_BITMAPS && defined(__WXMSW__) && !wxUSE_XPM_IN_MSW
-    #error You need to enable XPM support to use XPM bitmaps with toolbar!
-#endif // USE_XPM_BITMAPS
-
 // If this is 1, the sample will test an extra toolbar identical to the
 // main one, but not managed by the frame. This can test subtle differences
 // in the way toolbars are handled, especially on Mac where there is one