class WXDLLEXPORT wxMask;
class WXDLLEXPORT wxPalette;
-#if defined(__WXMGL__) || defined(__WXMAC__)
+#if defined(__WXMGL__) || defined(__WXMAC__) || defined(__WXMOTIF__)
// Only used by some ports
// FIXME -- make all ports (but MSW which uses wxGDIImage) use these base classes