[ 1498016 ] 'Add wxUniv toolbar support wxTB_TEXT style' - with modifications.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-05-31 18:15:42 +00:00
parent cf26ac62e3
commit 370efbe741
6 changed files with 151 additions and 24 deletions

View File

@@ -206,7 +206,8 @@ public:
const wxBitmap& bitmap,
const wxRect& rect,
int flags = 0,
long style = 0) = 0;
long style = 0,
int tbarStyle = 0) = 0;
// draw a (part of) line in the text control
virtual void DrawTextLine(wxDC& dc,
@@ -626,8 +627,9 @@ public:
const wxBitmap& bitmap,
const wxRect& rect,
int flags = 0,
long style = 0)
{ m_renderer->DrawToolBarButton(dc, label, bitmap, rect, flags, style); }
long style = 0,
int tbarStyle = 0)
{ m_renderer->DrawToolBarButton(dc, label, bitmap, rect, flags, style, tbarStyle); }
virtual void DrawTextLine(wxDC& dc,
const wxString& text,
const wxRect& rect,
@@ -902,4 +904,3 @@ private:
};
#endif // _WX_UNIV_RENDERER_H_