diff --git a/include/wx/artprov.h b/include/wx/artprov.h index 6828a6b4d5..a2f7fb57a0 100644 --- a/include/wx/artprov.h +++ b/include/wx/artprov.h @@ -224,10 +224,7 @@ protected: static void CleanUpProviders(); // Get the default size of an icon for a specific client - virtual wxSize DoGetSizeHint(const wxArtClient& client) - { - return GetSizeHint(client, true); - } + virtual wxSize DoGetSizeHint(const wxArtClient& client); // Derived classes must override at least one of the CreateXXX() functions // below to create requested art resource. Overriding more than one of them diff --git a/src/common/artprov.cpp b/src/common/artprov.cpp index ce25e5633f..c7b48de4c7 100644 --- a/src/common/artprov.cpp +++ b/src/common/artprov.cpp @@ -543,6 +543,11 @@ wxArtID wxArtProvider::GetMessageBoxIconId(int flags) return GetNativeSizeHint(client); } +wxSize wxArtProvider::DoGetSizeHint(const wxArtClient& client) +{ + return GetNativeSizeHint(client); +} + #ifndef wxHAS_NATIVE_ART_PROVIDER_IMPL /*static*/ wxSize wxArtProvider::GetNativeSizeHint(const wxArtClient& WXUNUSED(client))