+#if wxOSX_USE_COCOA
+ virtual void ShowWindowModal();
+ virtual void ModalFinishedCallback(void* panel, int returnCode);
+#endif
+
+private:
+#if wxOSX_USE_COCOA
+ // Create and initialize NSOpenPanel that we use in both ShowModal() and
+ // ShowWindowModal().
+ WX_NSOpenPanel OSXCreatePanel() const;
+
+ WX_NSObject m_sheetDelegate;
+#endif