X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c32066b58849e52e4d76e30982414d9f4daae6a..3a19e16d18542ec645271612d3e0170831cbf0eb:/include/wx/dynlib.h diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 39db5aa6ad..ceecce4a58 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -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