]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix wxDataObject::GetFormatCount() signature in the documentation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 10 Mar 2012 14:26:15 +0000 (14:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 10 Mar 2012 14:26:15 +0000 (14:26 +0000)
It should be const but wasn't.

Closes #14080.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/dataobj.h

index 4ba4e3cffffc351ac1d0534c733b24fe66138090..31822cf8b4cf1f3409bf2d20abfe12fd8cca4da3 100644 (file)
@@ -747,7 +747,7 @@ public:
         Returns 1 under other platforms (e.g. wxMSW) or when building in ANSI mode
         (@c wxUSE_UNICODE==0).
     */
-    virtual size_t GetFormatCount(Direction dir = Get);
+    virtual size_t GetFormatCount(Direction dir = Get) const;
 
     /**
         Returns the preferred format supported by this object.