X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c32066b58849e52e4d76e30982414d9f4daae6a..3eb78d7ebb6f0dcf9222c379189068266d93c463:/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