]> git.saurik.com Git - wxWidgets.git/commitdiff
make IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces...
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Feb 2008 23:58:09 +0000 (23:58 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 18 Feb 2008 23:58:09 +0000 (23:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gdiobj.h

index fc2e0756d7f2b2b5ba27e7be247e5bc35c3c1570..77b4c532f26579b28d1e141a9848388385b21dee 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLIMPEXP_CORE wxGDIObject : public wxObject
 {
 public:
     // checks if the object can be used
-    bool IsOk() const
+    virtual bool IsOk() const
     {
         // the cast here is safe because the derived classes always create
         // wxGDIRefData objects