corrected warnings when compiling with -Wall -W
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -40,7 +40,9 @@ public:
|
||||
wxBrush( const wxBitmap &stippleBitmap );
|
||||
~wxBrush();
|
||||
|
||||
wxBrush( const wxBrush &brush ) { Ref(brush); }
|
||||
wxBrush( const wxBrush &brush )
|
||||
: wxGDIObject()
|
||||
{ Ref(brush); }
|
||||
wxBrush& operator = ( const wxBrush& brush ) { Ref(brush); return *this; }
|
||||
|
||||
bool Ok() const { return m_refData != NULL; }
|
||||
|
@@ -49,7 +49,9 @@ public:
|
||||
wxColour( const wxString &colourName ) { InitFromName(colourName); }
|
||||
wxColour( const char *colourName ) { InitFromName(colourName); }
|
||||
|
||||
wxColour( const wxColour& col ) { Ref(col); }
|
||||
wxColour( const wxColour& col )
|
||||
: wxGDIObject()
|
||||
{ Ref(col); }
|
||||
wxColour& operator = ( const wxColour& col ) { Ref(col); return *this; }
|
||||
|
||||
~wxColour();
|
||||
|
@@ -45,7 +45,9 @@ public:
|
||||
wxPen( const wxColour &colour, int width, int style );
|
||||
~wxPen();
|
||||
|
||||
wxPen( const wxPen& pen ) { Ref(pen); }
|
||||
wxPen( const wxPen& pen )
|
||||
: wxGDIObject()
|
||||
{ Ref(pen); }
|
||||
wxPen& operator = ( const wxPen& pen ) { Ref(pen); return *this; }
|
||||
|
||||
bool Ok() const { return m_refData != NULL; }
|
||||
|
@@ -73,7 +73,9 @@ public:
|
||||
wxRegion( size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE );
|
||||
~wxRegion();
|
||||
|
||||
wxRegion( const wxRegion& region ) { Ref(region); }
|
||||
wxRegion( const wxRegion& region )
|
||||
: wxGDIObject()
|
||||
{ Ref(region); }
|
||||
wxRegion& operator = ( const wxRegion& region ) { Ref(region); return *this; }
|
||||
|
||||
bool Ok() const { return m_refData != NULL; }
|
||||
|
Reference in New Issue
Block a user