X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12028905135250524409f1e7b9bfa9c55e5ce16b..bcf7614cf3a2329e484fd8f437b3a8b521f2b94b:/include/wx/gtk1/statbmp.h diff --git a/include/wx/gtk1/statbmp.h b/include/wx/gtk1/statbmp.h index 642e708448..0e72430522 100644 --- a/include/wx/gtk1/statbmp.h +++ b/include/wx/gtk1/statbmp.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: wx/gtk/statbmp.h +// Name: wx/gtk1/statbmp.h // Purpose: // Author: Robert Roebling // Id: $Id$ @@ -7,21 +7,16 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - #ifndef __GTKSTATICBITMAPH__ #define __GTKSTATICBITMAPH__ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface -#endif - #include "wx/icon.h" //----------------------------------------------------------------------------- // wxStaticBitmap //----------------------------------------------------------------------------- -class wxStaticBitmap : public wxStaticBitmapBase +class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase { public: wxStaticBitmap(); @@ -52,10 +47,10 @@ public: return (const wxIcon &)m_bitmap; } -private: - // creates the new pixmap widget - void CreatePixmapWidget(); + static wxVisualAttributes + GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL); +private: wxBitmap m_bitmap; DECLARE_DYNAMIC_CLASS(wxStaticBitmap)