From 3cdd0895f43b739bfc1c3ab43214e1d6f26c561a Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 21 Nov 2001 00:00:29 +0000 Subject: [PATCH] removed GDI lists from wxMGL git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mgl/bitmap.h | 4 ++-- include/wx/mgl/brush.h | 4 ++-- include/wx/mgl/font.h | 4 ++-- include/wx/mgl/pen.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/wx/mgl/bitmap.h b/include/wx/mgl/bitmap.h index 0a0043829e..3ac421b830 100644 --- a/include/wx/mgl/bitmap.h +++ b/include/wx/mgl/bitmap.h @@ -75,7 +75,7 @@ private: class WXDLLEXPORT wxBitmap: public wxBitmapBase { public: - wxBitmap(); + wxBitmap() {} wxBitmap(int width, int height, int depth = -1); wxBitmap(const char bits[], int width, int height, int depth = 1); wxBitmap(const char **bits) { CreateFromXpm(bits); } @@ -83,7 +83,7 @@ public: wxBitmap(const wxBitmap& bmp); wxBitmap(const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_RESOURCE); wxBitmap(const wxImage& image, int depth = -1); - ~wxBitmap(); + ~wxBitmap() {} wxBitmap& operator = (const wxBitmap& bmp); bool operator == (const wxBitmap& bmp) const; bool operator != (const wxBitmap& bmp) const; diff --git a/include/wx/mgl/brush.h b/include/wx/mgl/brush.h index 6b871ebded..5d12600bad 100644 --- a/include/wx/mgl/brush.h +++ b/include/wx/mgl/brush.h @@ -35,11 +35,11 @@ class WXDLLEXPORT wxBrush; class WXDLLEXPORT wxBrush: public wxGDIObject { public: - wxBrush(); + wxBrush() {} wxBrush(const wxColour &colour, int style); wxBrush(const wxBitmap &stippleBitmap); wxBrush(const wxBrush &brush); - ~wxBrush(); + ~wxBrush() {} wxBrush& operator = (const wxBrush& brush); bool operator == (const wxBrush& brush) const; bool operator != (const wxBrush& brush) const; diff --git a/include/wx/mgl/font.h b/include/wx/mgl/font.h index 335c54636b..29f2fd6093 100644 --- a/include/wx/mgl/font.h +++ b/include/wx/mgl/font.h @@ -67,7 +67,7 @@ public: bool Create(const wxNativeFontInfo& fontinfo); - ~wxFont(); + ~wxFont() {} // assignment wxFont& operator=(const wxFont& font); @@ -98,7 +98,7 @@ public: protected: // common part of all ctors - void Init(); + void Init() {} private: DECLARE_DYNAMIC_CLASS(wxFont) diff --git a/include/wx/mgl/pen.h b/include/wx/mgl/pen.h index 5bc5dcfaa2..0441758301 100644 --- a/include/wx/mgl/pen.h +++ b/include/wx/mgl/pen.h @@ -35,11 +35,11 @@ class WXDLLEXPORT wxPen; class WXDLLEXPORT wxPen: public wxGDIObject { public: - wxPen(); + wxPen() {} wxPen(const wxColour &colour, int width, int style); wxPen(const wxBitmap& stipple, int width); wxPen(const wxPen& pen); - ~wxPen(); + ~wxPen() {} wxPen& operator = (const wxPen& pen); bool operator == (const wxPen& pen) const; bool operator != (const wxPen& pen) const; -- 2.45.2