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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user