/////////////////////////////////////////////////////////////////////////////
// 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"
int m_style;
wxBitmap m_stipple ;
wxColour m_colour;
-
-/* TODO: implementation
WXHBRUSH m_hBrush;
-*/
};
#define M_BRUSHDATA ((wxBrushRefData *)m_refData)
// 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();