Replace deprecated API usage for window modal dialogs

Remove the delegate objects that are not used any longer.

Move wxGetAvailableDrives() to Objective-C code file dirdlg.mm to allow
for Cocoa implementation.
This commit is contained in:
Stefan Csomor
2020-07-09 12:01:00 +02:00
committed by Vadim Zeitlin
parent be9216b6b1
commit 220dfe17ea
8 changed files with 104 additions and 112 deletions

View File

@@ -61,8 +61,6 @@ private:
// Create and initialize NSOpenPanel that we use in both ShowModal() and
// ShowWindowModal().
WX_NSOpenPanel OSXCreatePanel() const;
WX_NSObject m_sheetDelegate;
#endif
// Common part of all ctors.