fixed memory leak in wxNativeFontInfo when using Pango

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-07-02 20:54:12 +00:00
parent 2d17baae34
commit fdf7514a00
6 changed files with 25 additions and 4 deletions

View File

@@ -135,6 +135,11 @@ public:
// default ctor (default copy ctor is ok)
wxNativeFontInfo() { Init(); }
#if wxUSE_PANGO
wxNativeFontInfo(const wxNativeFontInfo& info);
~wxNativeFontInfo();
#endif
// reset to the default state
void Init();