From b549cfaaea11ce5e881e2151a838c91a031ad9ba Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 13 Mar 2022 08:56:23 +0100 Subject: Separate platform init functions from platform-specific driver files --- src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx') diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx index 489e7fe8d..be9dac6bd 100644 --- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx +++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx @@ -39,17 +39,6 @@ extern const char *fl_bg2; #endif // !HMONITOR_DECLARED && _WIN32_WINNT < 0x0500 -/* - Creates a driver that manages all screen and display related calls. - - This function must be implemented once for every platform. - */ -Fl_Screen_Driver *Fl_Screen_Driver::newScreenDriver() -{ - return new Fl_WinAPI_Screen_Driver(); -} - - int Fl_WinAPI_Screen_Driver::visual(int flags) { fl_GetDC(0); -- cgit v1.2.3