2002-12-16 Angus Leeming <leeming@lyx.org>
+ * XPainter.C: missed a #ifdef USE_XFORMS_IMAGE_LOADER.
+
* FormPreferences.C:
* forms/form_preferences.fd: remove override_x_deadkeys stuff.
#include "encoding.h"
#include "language.h"
-#ifdef USE_XFORMS_IMAGE_LOADER
#include "xformsImage.h"
-#else
-#include "graphics/GraphicsImageXPM.h"
-#endif
#include "support/LAssert.h"
#include "support/lstrings.h"
int w, int h,
grfx::Image const & i)
{
-#ifdef USE_XFORMS_IMAGE_LOADER
- grfx::xformsImage const & image = static_cast<grfx::xformsImage const &>(i);
-#else
- grfx::ImageXPM const & image = static_cast<grfx::ImageXPM const &>(i);
-#endif
+ grfx::xformsImage const & image =
+ static_cast<grfx::xformsImage const &>(i);
XGCValues val;
val.function = GXcopy;