Applied patch for ArtProvider.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2005-03-12 10:33:00 +00:00
parent ab5ea030d8
commit e53a95bcb1
8 changed files with 100 additions and 48 deletions

View File

@@ -137,9 +137,9 @@ public:
const wxArtClient& client = wxART_OTHER,
const wxSize& size = wxDefaultSize);
// Get the size of an icon from a specific wxArtClient, queries
// Get the size hint of an icon from a specific wxArtClient, queries
// the topmost provider if platform_dependent = false
static wxSize GetSize(const wxArtClient& client, bool platform_dependent = false);
static wxSize GetSizeHint(const wxArtClient& client, bool platform_dependent = false);
protected:
friend class wxArtProviderModule;
@@ -151,9 +151,9 @@ protected:
static void CleanUpProviders();
// Get the default size of an icon for a specific client
virtual wxSize DoGetSize(const wxArtClient& client)
virtual wxSize DoGetSizeHint(const wxArtClient& client)
{
return GetSize(client, true);
return GetSizeHint(client, true);
}
// Derived classes must override this method to create requested