applied patch 444915 (warning fixes for gcc 2.95.4)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
baff4ae246
commit
6788ecb8a9
@ -35,7 +35,7 @@ class wxFont : public wxFontBase
|
|||||||
public:
|
public:
|
||||||
// ctors and such
|
// ctors and such
|
||||||
wxFont() { Init(); }
|
wxFont() { Init(); }
|
||||||
wxFont(const wxFont& font) { Init(); Ref(font); }
|
wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); }
|
||||||
wxFont(const wxString& fontname,
|
wxFont(const wxString& fontname,
|
||||||
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT)
|
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT)
|
||||||
{
|
{
|
||||||
|
@ -35,7 +35,7 @@ class wxFont : public wxFontBase
|
|||||||
public:
|
public:
|
||||||
// ctors and such
|
// ctors and such
|
||||||
wxFont() { Init(); }
|
wxFont() { Init(); }
|
||||||
wxFont(const wxFont& font) { Init(); Ref(font); }
|
wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); }
|
||||||
wxFont(const wxString& fontname,
|
wxFont(const wxString& fontname,
|
||||||
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT)
|
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT)
|
||||||
{
|
{
|
||||||
|
@ -158,7 +158,7 @@ public:
|
|||||||
~wxHashTable();
|
~wxHashTable();
|
||||||
|
|
||||||
// copy ctor and assignment operator
|
// copy ctor and assignment operator
|
||||||
wxHashTable(const wxHashTable& table) { DoCopy(table); }
|
wxHashTable(const wxHashTable& table) : wxObject() { DoCopy(table); }
|
||||||
wxHashTable& operator=(const wxHashTable& table)
|
wxHashTable& operator=(const wxHashTable& table)
|
||||||
{ Clear(); DoCopy(table); return *this; }
|
{ Clear(); DoCopy(table); return *this; }
|
||||||
|
|
||||||
|
@ -249,7 +249,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
// copy ctor and assignment operator
|
// copy ctor and assignment operator
|
||||||
wxListBase(const wxListBase& list)
|
wxListBase(const wxListBase& list) : wxObject()
|
||||||
{ Init(); DoCopy(list); }
|
{ Init(); DoCopy(list); }
|
||||||
wxListBase& operator=(const wxListBase& list)
|
wxListBase& operator=(const wxListBase& list)
|
||||||
{ Clear(); DoCopy(list); return *this; }
|
{ Clear(); DoCopy(list); return *this; }
|
||||||
@ -514,7 +514,7 @@ public:
|
|||||||
|
|
||||||
// copying the string list: the strings are copied, too (extremely
|
// copying the string list: the strings are copied, too (extremely
|
||||||
// inefficient!)
|
// inefficient!)
|
||||||
wxStringList(const wxStringList& other) { DeleteContents(TRUE); DoCopy(other); }
|
wxStringList(const wxStringList& other) : wxStringListBase() { DeleteContents(TRUE); DoCopy(other); }
|
||||||
wxStringList& operator=(const wxStringList& other)
|
wxStringList& operator=(const wxStringList& other)
|
||||||
{ Clear(); DoCopy(other); return *this; }
|
{ Clear(); DoCopy(other); return *this; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user