X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..31fb3cfe02f5ed82c47b80d264e84b8207a456b4:/include/wx/motif/bmpmotif.h diff --git a/include/wx/motif/bmpmotif.h b/include/wx/motif/bmpmotif.h index 1e88d23c75..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_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#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;