]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/data.cpp
fix for BSD compilation
[wxWidgets.git] / src / msw / data.cpp
index 0a9c7286a28779aeddbc2f0d8357b4b35736e120..9657bb89ede6916cc078413ed1e9e3bb866f60c4 100644 (file)
@@ -87,13 +87,18 @@ wxCursor *wxHOURGLASS_CURSOR = NULL;
 wxCursor *wxCROSS_CURSOR = NULL;
 
 // 'Null' objects
+#if wxUSE_ACCEL
 wxAcceleratorTable wxNullAcceleratorTable;
+#endif // wxUSE_ACCEL
+
 wxBitmap  wxNullBitmap;
 wxIcon    wxNullIcon;
 wxCursor  wxNullCursor;
 wxPen     wxNullPen;
 wxBrush   wxNullBrush;
+#if wxUSE_PALETTE
 wxPalette wxNullPalette;
+#endif // wxUSE_PALETTE
 wxFont    wxNullFont;
 wxColour  wxNullColour;