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:
|
||||
// ctors and such
|
||||
wxFont() { Init(); }
|
||||
wxFont(const wxFont& font) { Init(); Ref(font); }
|
||||
wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); }
|
||||
wxFont(const wxString& fontname,
|
||||
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT)
|
||||
{
|
||||
|
@ -35,7 +35,7 @@ class wxFont : public wxFontBase
|
||||
public:
|
||||
// ctors and such
|
||||
wxFont() { Init(); }
|
||||
wxFont(const wxFont& font) { Init(); Ref(font); }
|
||||
wxFont(const wxFont& font) : wxFontBase() { Init(); Ref(font); }
|
||||
wxFont(const wxString& fontname,
|
||||
wxFontEncoding fontenc = wxFONTENCODING_DEFAULT)
|
||||
{
|
||||
|
@ -158,7 +158,7 @@ public:
|
||||
~wxHashTable();
|
||||
|
||||
// copy ctor and assignment operator
|
||||
wxHashTable(const wxHashTable& table) { DoCopy(table); }
|
||||
wxHashTable(const wxHashTable& table) : wxObject() { DoCopy(table); }
|
||||
wxHashTable& operator=(const wxHashTable& table)
|
||||
{ Clear(); DoCopy(table); return *this; }
|
||||
|
||||
|
@ -249,7 +249,7 @@ public:
|
||||
|
||||
protected:
|
||||
// copy ctor and assignment operator
|
||||
wxListBase(const wxListBase& list)
|
||||
wxListBase(const wxListBase& list) : wxObject()
|
||||
{ Init(); DoCopy(list); }
|
||||
wxListBase& operator=(const wxListBase& list)
|
||||
{ Clear(); DoCopy(list); return *this; }
|
||||
@ -514,7 +514,7 @@ public:
|
||||
|
||||
// copying the string list: the strings are copied, too (extremely
|
||||
// inefficient!)
|
||||
wxStringList(const wxStringList& other) { DeleteContents(TRUE); DoCopy(other); }
|
||||
wxStringList(const wxStringList& other) : wxStringListBase() { DeleteContents(TRUE); DoCopy(other); }
|
||||
wxStringList& operator=(const wxStringList& other)
|
||||
{ Clear(); DoCopy(other); return *this; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user