UI: Optional prompt to quit for non win32 systems
D566 by @januz Use Blender native dialog when OS dialog's aren't supported.
This commit is contained in:
@@ -380,6 +380,11 @@ int GHOST_System::confirmQuit(GHOST_IWindow * /*window*/) const
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool GHOST_System::supportsNativeDialogs(void)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
bool GHOST_System::useNativePixel(void)
|
||||
{
|
||||
m_nativePixel = true;
|
||||
|
||||
Reference in New Issue
Block a user