added Load() and Set() methods

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-08-06 18:14:44 +00:00
parent 010fb35d89
commit 9f2be12593
2 changed files with 114 additions and 4 deletions

View File

@@ -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);
};
// ----------------------------------------------------------------------------