make NSString conversions available for all osx platforms

This commit is contained in:
Stefan Csomor
2020-04-07 12:04:01 +02:00
parent 2790b3cb29
commit 80fd70e8f1
2 changed files with 5 additions and 5 deletions

View File

@@ -518,11 +518,6 @@ extern ClassicCursor gMacCursors[];
extern NSLayoutManager* gNSLayoutManager;
// NSString<->wxString
wxString wxStringWithNSString(NSString *nsstring);
NSString* wxNSStringWithWxString(const wxString &wxstring);
// helper class for setting the current appearance to the
// effective appearance and restore when exiting scope

View File

@@ -59,6 +59,11 @@ WXDLLIMPEXP_BASE long wxMacTranslateKey(unsigned char key, unsigned char code);
#endif
// NSString<->wxString
WXDLLIMPEXP_BASE wxString wxStringWithNSString(NSString *nsstring);
WXDLLIMPEXP_BASE NSString* wxNSStringWithWxString(const wxString &wxstring);
WXDLLIMPEXP_BASE CFURLRef wxOSXCreateURLFromFileSystemPath( const wxString& path);
#if wxUSE_GUI