+// ----------------------------------------------------------------------------
+// misc
+// ----------------------------------------------------------------------------
+
+#if defined(__DARWIN__) && defined(DYLIB_INIT)
+
+extern "C" {
+    void __initialize_Cplusplus(void);
+    void wxWindowsDylibInit(void);
+};
+
+    // Dynamic shared library (dylib) initialization routine
+    //   required to initialize static C++ objects bacause of lazy dynamic linking
+    //   http://developer.apple.com/techpubs/macosx/Essentials/
+    //          SystemOverview/Frameworks/Dynamic_Shared_Libraries.html
+
+void wxWindowsDylibInit()