remove Create{Window,Client,Paint}DC() methods without window parameter -- they don't make sense as these DCs must always be associated with a window and are unusable if created without it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -131,31 +131,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxDCFactoryCleanupModule, wxModule)
|
||||
// wxNativeDCFactory
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
wxDCImpl* wxNativeDCFactory::CreateWindowDC( wxWindowDC *owner )
|
||||
{
|
||||
return new wxWindowDCImpl( owner );
|
||||
}
|
||||
|
||||
wxDCImpl* wxNativeDCFactory::CreateWindowDC( wxWindowDC *owner, wxWindow *window )
|
||||
{
|
||||
return new wxWindowDCImpl( owner, window );
|
||||
}
|
||||
|
||||
wxDCImpl* wxNativeDCFactory::CreateClientDC( wxClientDC *owner )
|
||||
{
|
||||
return new wxClientDCImpl( owner );
|
||||
}
|
||||
|
||||
wxDCImpl* wxNativeDCFactory::CreateClientDC( wxClientDC *owner, wxWindow *window )
|
||||
{
|
||||
return new wxClientDCImpl( owner, window );
|
||||
}
|
||||
|
||||
wxDCImpl* wxNativeDCFactory::CreatePaintDC( wxPaintDC *owner )
|
||||
{
|
||||
return new wxPaintDCImpl( owner );
|
||||
}
|
||||
|
||||
wxDCImpl* wxNativeDCFactory::CreatePaintDC( wxPaintDC *owner, wxWindow *window )
|
||||
{
|
||||
return new wxPaintDCImpl( owner, window );
|
||||
|
||||
Reference in New Issue
Block a user