ADDED wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
Corrected inheritence of wxTreeEvent, wxNotebookEvent, wxListEvent on wxMSW and wxGTK Corrected scrolling step etc. in wxListCtrl Built-in correction of out-of-bounds values for position of scrollbar thumb Reverted interpretation of wxVERTICAL for radiobox Applied Phls patch for wxStaticText git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -199,6 +199,11 @@ void wxStatusBar::DrawFieldText(wxDC& dc, int i)
|
||||
|
||||
int xpos = rect.x + leftMargin;
|
||||
int ypos = (int) (((rect.height - y) / 2 ) + rect.y + 0.5) ;
|
||||
|
||||
#ifdef __WXGTK__
|
||||
xpos++;
|
||||
ypos++;
|
||||
#endif
|
||||
|
||||
dc.SetClippingRegion(rect.x, rect.y, rect.width, rect.height);
|
||||
|
||||
|
Reference in New Issue
Block a user