IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-30 18:46:20 +00:00
parent 44ac608d14
commit ab9d0a8ca3
20 changed files with 631 additions and 579 deletions

View File

@@ -68,6 +68,9 @@ public:
inline wxBitmap* GetStipple(void) const { return (M_BRUSHDATA ? & M_BRUSHDATA->m_vStipple : 0); };
inline int GetPS(void) const { return (M_BRUSHDATA ? M_BRUSHDATA->m_hBrush : 0); };
bool IsHatch() const
{ return (GetStyle()>=wxBDIAGONAL_HATCH) && (GetStyle()<=wxVERTICAL_HATCH); }
inline virtual bool Ok(void) const { return (m_refData != NULL) ; }
//
@@ -79,7 +82,7 @@ public:
//
bool RealizeResource(void);
WXHANDLE GetResourceHandle(void) ;
bool FreeResource(bool bForce = FALSE);
bool FreeResource(bool bForce = false);
bool IsFree(void) const;
void Unshare(void);
}; // end of CLASS wxBrush