]> git.saurik.com Git - wxWidgets.git/commitdiff
[ 1945434 ] Changing method wxComboCtrlBase::DrawButton to virtual one
authorRobert Roebling <robert@roebling.de>
Mon, 21 Apr 2008 18:48:03 +0000 (18:48 +0000)
committerRobert Roebling <robert@roebling.de>
Mon, 21 Apr 2008 18:48:03 +0000 (18:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/combo.h

index a79c3d61927b75cf1d280ac70d998d6a21ec0d6b..902c0bc5b9982d55e7e5dc16bfef22e6b8729abc 100644 (file)
@@ -445,7 +445,7 @@ protected:
 
     // Draws dropbutton. Using wxRenderer or bitmaps, as appropriate.
     // Flags are defined above.
-    void DrawButton( wxDC& dc, const wxRect& rect, int flags = Button_PaintBackground );
+    virtual void DrawButton( wxDC& dc, const wxRect& rect, int flags = Button_PaintBackground );
 
     // Call if cursor is on button area or mouse is captured for the button.
     //bool HandleButtonMouseEvent( wxMouseEvent& event, bool isInside );