]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/ownerdrw.h
applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter
[wxWidgets.git] / include / wx / ownerdrw.h
index ae9cde808a9f4c8d6d2e79e5ec06a793b1cc5586..a9a54e7997ce0b991286621bd645120c058703e7 100644 (file)
@@ -63,6 +63,10 @@ public:
         m_bmpUnchecked = bmpUnchecked;
         m_bOwnerDrawn = TRUE; }
 
+  void SetBitmap(const wxBitmap& bmpChecked)
+      { m_bmpChecked = bmpChecked;
+        m_bOwnerDrawn = TRUE; }
+
   const wxBitmap& GetBitmap(bool bChecked = TRUE) const
       { return (bChecked ? m_bmpChecked : m_bmpUnchecked); }