]> git.saurik.com Git - wxWidgets.git/commitdiff
export var that is sought for afterwards from shared lib
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 27 Mar 2004 05:36:20 +0000 (05:36 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 27 Mar 2004 05:36:20 +0000 (05:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index 613c323b92f3c4d9bf2533d9915348f8f2f6a61a..f66548a21754fe18ed322cc5eb63eba456138206 100644 (file)
@@ -791,7 +791,7 @@ void wxApp::CleanUp()
 
 // extern variable for shared library resource id
 // need to be able to find it with NSLookupAndBindSymbol
-short gSharedLibraryResource = kResFileNotOpened ;
+short WXDLLEXPORT gSharedLibraryResource = kResFileNotOpened ;
 
 #if defined(WXMAKINGDLL_CORE) && defined(__DARWIN__)
 CFBundleRef gSharedLibraryBundle = NULL;