Updates to memcheck
Corrected and beautified memory (output) Fixed a few memory leaks Fixed resizing in in wxRadioBox Added many wxFAIL and wxASSERT Corrected other wxFAIL (removed from ..::Ok()) Added wxBrush::Set..() functions Added CopyOnWrite support in GDI objects (Unshare) Disabled all occurences of WXDEBUG_NEW made clean, recompiled with mem_chcking on git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,7 +52,7 @@ extern wxAcceleratorTable wxNullAcceleratorTable;
|
||||
// wxAcceleratorEntry
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class wxAcceleratorEntry
|
||||
class wxAcceleratorEntry: public wxObject
|
||||
{
|
||||
public:
|
||||
|
||||
|
@@ -54,6 +54,15 @@ class wxBrush: public wxGDIObject
|
||||
wxColour &GetColour(void) const;
|
||||
wxBitmap *GetStipple(void) const;
|
||||
|
||||
|
||||
void SetColour( const wxColour& col );
|
||||
void SetColour( const wxString& col );
|
||||
void SetColour( unsigned char r, unsigned char g, unsigned char b );
|
||||
void SetStyle( int style );
|
||||
void SetStipple( const wxBitmap& stipple );
|
||||
|
||||
void Unshare(void);
|
||||
|
||||
// no data :-)
|
||||
};
|
||||
|
||||
|
@@ -62,6 +62,8 @@ class wxPen: public wxGDIObject
|
||||
int GetWidth(void) const;
|
||||
bool Ok(void) const;
|
||||
|
||||
void Unshare(void);
|
||||
|
||||
// no data :-)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user