X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c0e6de1899382fa3ba01aa03f1922d9c5c59f6a..458425003481da3dde531a9677014b07070b7095:/include/wx/renderer.h diff --git a/include/wx/renderer.h b/include/wx/renderer.h index fb831c39b5..ba5cb2611a 100644 --- a/include/wx/renderer.h +++ b/include/wx/renderer.h @@ -144,6 +144,22 @@ public: // return the default (native) implementation for this platform static wxRendererNative& GetDefault(); + + + // changing the global renderer + // ---------------------------- + +#if wxUSE_DYNLIB_CLASS + // load the renderer from the specified DLL, the returned pointer must be + // deleted by caller if not NULL when it is not used any more + static wxRendererNative *Load(const wxString& name); +#endif // wxUSE_DYNLIB_CLASS + + // set the renderer to use, passing NULL reverts to using the default + // renderer + // + // return the previous renderer used with Set() or NULL if none + static wxRendererNative *Set(wxRendererNative *renderer); }; // ----------------------------------------------------------------------------