X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aae91497f6ac36a76d3313cf405cae0f098ea1d1..31fb3cfe02f5ed82c47b80d264e84b8207a456b4:/include/wx/motif/bmpmotif.h diff --git a/include/wx/motif/bmpmotif.h b/include/wx/motif/bmpmotif.h index d0003b7df6..a176e90fc0 100644 --- a/include/wx/motif/bmpmotif.h +++ b/include/wx/motif/bmpmotif.h @@ -1,25 +1,21 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: bmpmotif.h +// Name: wx/motif/bmpmotif.h // Purpose: Motif-specific bitmap routines // Author: Julian Smart, originally in bitmap.h // Modified by: // Created: 25/03/2003 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_BMPMOTIF_H_ #define _WX_BMPMOTIF_H_ -#ifdef __GNUG__ -#pragma interface "bmpmotif.h" -#endif - #include "wx/defs.h" #include "wx/bitmap.h" -class WXDLLEXPORT wxBitmapCache +class WXDLLIMPEXP_CORE wxBitmapCache { public: wxBitmapCache() @@ -28,7 +24,7 @@ public: m_armPixmap = (WXPixmap)NULL; m_insensPixmap = (WXPixmap)NULL; m_image = (WXImage)NULL; - m_display = (WXDisplay*)NULL; + m_display = NULL; SetColoursChanged(); } @@ -44,6 +40,8 @@ private: void InvalidateCache(); void CreateImageIfNeeded( WXWidget w ); + WXPixmap GetPixmapFromCache(WXWidget w); + struct { bool label : 1;