]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
wxToolTip for MSW implementation (it has several problems right now, but it
[wxWidgets.git] / include / wx / dynlib.h
index 39db5aa6adc5863850ac377b2c610bce8c9a8d36..ceecce4a5842bcea2940498ff5fac51c2175a981 100644 (file)
@@ -39,7 +39,7 @@ class wxLibrary: public wxObject {
   void MergeWithSystem();
 
  protected:
-  void PrepareClasses(wxClassInfo **first);
+  void PrepareClasses(wxClassInfo *first);
 };
 
 // ---------------------------------------------------------------------------
@@ -65,9 +65,9 @@ extern wxLibraries wxTheLibraries;
 // Interesting defines
 
 #define WXDLL_ENTRY_FUNCTION() \
-extern "C" wxClassInfo **wxGetClassFirst(); \
-wxClassInfo **wxGetClassFirst() { \
-  return &wxClassInfo::first; \
+extern "C" wxClassInfo *wxGetClassFirst(); \
+wxClassInfo *wxGetClassFirst() { \
+  return wxClassInfo::GetFirst(); \
 }
 
 #endif