]> git.saurik.com Git - wxWidgets.git/commitdiff
DrawCheckButton -- > DrawCheckBox
authorRobin Dunn <robin@alldunn.com>
Thu, 4 May 2006 02:00:13 +0000 (02:00 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 4 May 2006 02:00:13 +0000 (02:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_renderer.i

index c86aad1d01479caad3a804074d392ae13f7416d0..6d6a2783d01234be6ed6a2bdb14bc66ba2e7ecb7 100644 (file)
@@ -184,14 +184,41 @@ you need. ``flags`` may have the ``wx.CONTROL_PRESSED`` or
     
 
     DocDeclStr(
-        virtual void , DrawCheckButton(wxWindow *win,
-                                       wxDC& dc,
-                                       const wxRect& rect,
-                                       int flags = 0),
+        virtual void , DrawCheckBox(wxWindow *win,
+                                    wxDC& dc,
+                                    const wxRect& rect,
+                                    int flags = 0),
         "Draw a check button.  Flags may use wx.CONTROL_CHECKED,
 wx.CONTROL_UNDETERMINED and wx.CONTROL_CURRENT.", "");
     
 
+    DocDeclStr(
+        virtual void , DrawPushButton(wxWindow *win,
+                                      wxDC& dc,
+                                      const wxRect& rect,
+                                      int flags = 0),
+        "Draw a blank button.  Flags may be wx.CONTROL_PRESSED, wx.CONTROL_CURRENT and
+wx.CONTROL_ISDEFAULT", "");
+    
+
+    DocDeclStr(
+        virtual void , DrawItemSelectionRect(wxWindow *win,
+                                             wxDC& dc,
+                                             const wxRect& rect,
+                                             int flags = 0),
+        "Draw rectangle indicating that an item in e.g. a list control has been
+selected or focused
+
+The flags parameter may be:
+
+    ====================  ============================================
+    wx.CONTROL_SELECTED   item is selected, e.g. draw background
+    wx.CONTROL_CURRENT    item is the current item, e.g. dotted border
+    wx.CONTROL_FOCUSED    the whole control has focus, e.g. blue
+                          background vs. grey otherwise
+    ====================  ============================================
+", "");
+    
     
     DocDeclStr(
         virtual wxSplitterRenderParams , GetSplitterParams(const wxWindow *win),