From: Robert Roebling Date: Mon, 21 Apr 2008 18:48:03 +0000 (+0000) Subject: [ 1945434 ] Changing method wxComboCtrlBase::DrawButton to virtual one X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e569b493727b8e4306b404c71b5a2284034f9134 [ 1945434 ] Changing method wxComboCtrlBase::DrawButton to virtual one git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/combo.h b/include/wx/combo.h index a79c3d6192..902c0bc5b9 100644 --- a/include/wx/combo.h +++ b/include/wx/combo.h @@ -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 );