Fixed initialization sequence in wxCairoContext ctor.

Shared method Init should be invoked to initialize the context to assure consistency with other ctors.
This commit is contained in:
Artur Wieczorek
2016-04-17 18:24:59 +02:00
parent fdc2189808
commit be6f93d725

View File

@@ -2134,7 +2134,7 @@ wxCairoContext::wxCairoContext(wxGraphicsRenderer* renderer) :
m_mswSurface = NULL;
m_mswStateSavedDC = 0;
#endif // __WXMSW__
m_context = NULL;
Init(NULL);
m_width = 0;
m_height = 0;
}