]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/brush.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / msw / brush.h
index ccc307e1188d231e9f10edee67a2e9053d282ef7..842e259d27e55aa541c655816e37ef0c160f325c 100644 (file)
@@ -50,8 +50,8 @@ public:
 
     bool Ok() const { return m_refData != NULL; }
 
-    // create (if necessary) and return the HBRUSH for this brush
-    WXHBRUSH GetResourceHandle() const;
+    // return the HBRUSH for this brush
+    virtual WXHANDLE GetResourceHandle() const;
 
 protected:
     virtual wxObjectRefData *CreateRefData() const;