remove default wxDC ctor to make it impossible to construct DCs without the associated wxDCImpl (this breaks compilation of classes such as wxMirrorDC instead of crashing at run-time); fixed wxMirrorDC compilation after breaking it; renamed wxDCFactory::GetFactory() to just Get(), no need to be repetitive
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -203,10 +203,12 @@ private:
|
||||
class WXDLLIMPEXP_CORE wxSVGFileDC : public wxDC
|
||||
{
|
||||
public:
|
||||
wxSVGFileDC( const wxString &filename,
|
||||
int width=320, int height=240, double dpi=72.0 )
|
||||
wxSVGFileDC(const wxString& filename,
|
||||
int width = 320,
|
||||
int height = 240,
|
||||
double dpi = 72.0)
|
||||
: wxDC(new wxSVGFileDCImpl(this, filename, width, height, dpi))
|
||||
{
|
||||
m_pimpl = new wxSVGFileDCImpl( this, filename, width, height, dpi );
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user