]> git.saurik.com Git - wxWidgets.git/commitdiff
Corrected (maybe) the object.h token syntax; corrected typo in makefile.g95
authorJulian Smart <julian@anthemion.co.uk>
Fri, 4 Jan 2002 14:18:59 +0000 (14:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 4 Jan 2002 14:18:59 +0000 (14:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/tmake/g95.t
include/wx/msw/setup0.h
include/wx/object.h
src/msw/app.cpp
src/msw/makefile.g95

index dd1f6ac7f935ce88b30dd9daa48c1261ed2f171e..9f693547d7a02bb43b323bd6abb2a6442841221e 100644 (file)
@@ -299,7 +299,7 @@ else
 endif
 
 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
 endif
 
 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
-ARCHINCDIR=(WXDIR)/lib/msw$(INCEXT)
+ARCHINCDIR=$(WXDIR)/lib/msw$(INCEXT)
 
 SETUP_H=$(ARCHINCDIR)/wx/setup.h
 
 
 SETUP_H=$(ARCHINCDIR)/wx/setup.h
 
index b27ec055debc413229b798116510e590de6222fe..be887d2a76e70daabe82897c2d9a8a8800c2dd8e 100644 (file)
 #define wxUSE_DYNLIB_CLASS    1
 
 // experimental, don't use for now
 #define wxUSE_DYNLIB_CLASS    1
 
 // experimental, don't use for now
-#define wxUSE_DYNAMIC_LOADER  0
+#define wxUSE_DYNAMIC_LOADER  1
 
 // Set to 1 to use socket classes
 #define wxUSE_SOCKETS       1
 
 // Set to 1 to use socket classes
 #define wxUSE_SOCKETS       1
index 43688968ab40ef3f0419af1ae64d146e8c60ccf3..6b529bd31e60f4795692a7a868c7cdd449fdd26a 100644 (file)
@@ -211,7 +211,7 @@ name##PluginSentinel  m_pluginsentinel;
     wxPluginLibrary *e = (wxPluginLibrary*) wxPluginLibrary::ms_classes.Get(#name);   \
     if( e != 0 ) { e->RefObj(); }                                      \
  }                                                                  \
     wxPluginLibrary *e = (wxPluginLibrary*) wxPluginLibrary::ms_classes.Get(#name);   \
     if( e != 0 ) { e->RefObj(); }                                      \
  }                                                                  \
- name::name##PluginSentinel::~##name##PluginSentinel() {            \
+ name::name##PluginSentinel::~name##PluginSentinel() {            \
     wxPluginLibrary *e = (wxPluginLibrary*) wxPluginLibrary::ms_classes.Get(#name);   \
     if( e != 0 ) { e->UnrefObj(); }                                 \
  }
     wxPluginLibrary *e = (wxPluginLibrary*) wxPluginLibrary::ms_classes.Get(#name);   \
     if( e != 0 ) { e->UnrefObj(); }                                 \
  }
index ea3044497a6e7e2a2a8e71a856e0a9b27cbd5453..4bbbd7f651892c16ca29e84f111e0006f5cb2a9b 100644 (file)
@@ -252,9 +252,11 @@ bool wxApp::Initialize()
         ;
 #endif // Win16
 
         ;
 #endif // Win16
 
+#if wxUSE_OLE
     // we need to initialize OLE library
     if ( FAILED(::OleInitialize(NULL)) )
         wxLogError(_("Cannot initialize OLE"));
     // we need to initialize OLE library
     if ( FAILED(::OleInitialize(NULL)) )
         wxLogError(_("Cannot initialize OLE"));
+#endif
 
 #endif // wxUSE_OLE
 
 
 #endif // wxUSE_OLE
 
index 2be537ca2654380b74c442fdfa8b657b605b2899..f1a19ff5b9763fc96d39068173ab747acf338e5c 100644 (file)
@@ -501,7 +501,7 @@ else
 endif
 
 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
 endif
 
 #ARCHINCDIR=$(subst $(PATH_SUBST),$(PATH_SEPARATOR),$(WXDIR)/lib/msw$(INCEXT))
-ARCHINCDIR=(WXDIR)/lib/msw$(INCEXT)
+ARCHINCDIR=$(WXDIR)/lib/msw$(INCEXT)
 
 SETUP_H=$(ARCHINCDIR)/wx/setup.h
 
 
 SETUP_H=$(ARCHINCDIR)/wx/setup.h