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:
@@ -814,6 +814,7 @@ wxImage wxBitmap::ConvertToImage() const
|
||||
}
|
||||
|
||||
wxBitmap::wxBitmap( const wxBitmap& bmp )
|
||||
: wxGDIObject()
|
||||
{
|
||||
Ref( bmp );
|
||||
}
|
||||
|
@@ -28,6 +28,7 @@ public:
|
||||
}
|
||||
|
||||
wxBrushRefData( const wxBrushRefData& data )
|
||||
: wxObjectRefData()
|
||||
{
|
||||
m_style = data.m_style;
|
||||
m_stipple = data.m_stipple;
|
||||
|
@@ -36,6 +36,7 @@ public:
|
||||
}
|
||||
|
||||
wxColourRefData(const wxColourRefData& data)
|
||||
: wxObjectRefData()
|
||||
{
|
||||
m_color = data.m_color;
|
||||
m_colormap = data.m_colormap;
|
||||
|
@@ -142,6 +142,7 @@ wxCursor::wxCursor(const char bits[], int width, int height,
|
||||
|
||||
|
||||
wxCursor::wxCursor( const wxCursor &cursor )
|
||||
: wxObject()
|
||||
{
|
||||
Ref( cursor );
|
||||
}
|
||||
|
@@ -174,6 +174,7 @@ void wxFontRefData::Init(int pointSize,
|
||||
}
|
||||
|
||||
wxFontRefData::wxFontRefData( const wxFontRefData& data )
|
||||
: wxObjectRefData()
|
||||
{
|
||||
m_pointSize = data.m_pointSize;
|
||||
m_family = data.m_family;
|
||||
|
@@ -34,6 +34,7 @@ public:
|
||||
}
|
||||
|
||||
wxPenRefData( const wxPenRefData& data )
|
||||
: wxObjectRefData()
|
||||
{
|
||||
m_style = data.m_style;
|
||||
m_width = data.m_width;
|
||||
|
@@ -39,6 +39,7 @@ public:
|
||||
}
|
||||
|
||||
wxRegionRefData(const wxRegionRefData& refData)
|
||||
: wxObjectRefData()
|
||||
{
|
||||
#ifdef __WXGTK20__
|
||||
m_region = gdk_region_copy(refData.m_region);
|
||||
@@ -66,8 +67,8 @@ public:
|
||||
#define M_REGIONDATA ((wxRegionRefData *)m_refData)
|
||||
#define M_REGIONDATA_OF(rgn) ((wxRegionRefData *)(rgn.m_refData))
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject);
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject);
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxRegion, wxGDIObject)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxRegionIterator,wxObject)
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// wxRegion construction
|
||||
|
Reference in New Issue
Block a user