partly successful (i.e. previously it didn't work at all and spewed Pango warnings and now it just doesn't work) attempts to fix drawing text on wxMemoryDC in Unicode build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-31 00:59:06 +00:00
parent 8f514ab459
commit 5c9d9745fe
2 changed files with 7 additions and 13 deletions

View File

@@ -32,7 +32,7 @@ class WXDLLIMPEXP_CORE wxClientDC;
class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
{
public:
wxWindowDC();
wxWindowDC() { Init(); }
wxWindowDC( wxWindow *win );
virtual ~wxWindowDC();
@@ -118,6 +118,8 @@ protected:
wxCoord *externalLeading = NULL,
wxFont *theFont = NULL) const;
void Init();
WXDisplay *m_display;
WXWindow m_window;
WXGC m_penGC;