X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e320a79f187558effb04d92020b470372bbe456..94799627ee0ad217b2fc41df5bd5bccf59494e00:/include/wx/os2/brush.h diff --git a/include/wx/os2/brush.h b/include/wx/os2/brush.h index a0a1bd7471..52a0326368 100644 --- a/include/wx/os2/brush.h +++ b/include/wx/os2/brush.h @@ -1,21 +1,17 @@ ///////////////////////////////////////////////////////////////////////////// // Name: brush.h // Purpose: wxBrush class -// Author: AUTHOR +// Author: David Webster // Modified by: -// Created: ??/??/98 +// Created: 10/13/99 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) David Webster +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_BRUSH_H_ #define _WX_BRUSH_H_ -#ifdef __GNUG__ -#pragma interface "brush.h" -#endif - #include "wx/gdicmn.h" #include "wx/gdiobj.h" #include "wx/bitmap.h" @@ -34,10 +30,7 @@ protected: int m_style; wxBitmap m_stipple ; wxColour m_colour; - -/* TODO: implementation WXHBRUSH m_hBrush; -*/ }; #define M_BRUSHDATA ((wxBrushRefData *)m_refData) @@ -74,6 +67,10 @@ public: // Useful helper: create the brush resource bool RealizeResource(); + WXHANDLE GetResourceHandle(void) ; + bool FreeResource(bool force = FALSE); + bool IsFree() const; + // When setting properties, we must make sure we're not changing // another object void Unshare();