Improved wxTreeCtrl tooltip processing performance (causing
major delays in processing button clicks) Added wxFULL_REPAINT_ON_RESIZE as default for wxStatusBar on wxGTK since otherwise there are display problems. Similarly for wxGrid. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -89,7 +89,7 @@ public:
|
||||
#if wxUSE_STATUSBAR
|
||||
// create the main status bar by calling OnCreateStatusBar()
|
||||
virtual wxStatusBar* CreateStatusBar(int number = 1,
|
||||
long style = wxST_SIZEGRIP,
|
||||
long style = wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
|
||||
wxWindowID winid = 0,
|
||||
const wxString& name =
|
||||
wxStatusLineNameStr);
|
||||
|
@@ -31,7 +31,7 @@ public:
|
||||
wxWindowID winid,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = 0,
|
||||
long style = wxFULL_REPAINT_ON_RESIZE,
|
||||
const wxString& name = wxPanelNameStr)
|
||||
{
|
||||
Init();
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
bool Create(wxWindow *parent, wxWindowID winid,
|
||||
const wxPoint& WXUNUSED(pos) = wxDefaultPosition,
|
||||
const wxSize& WXUNUSED(size) = wxDefaultSize,
|
||||
long style = 0,
|
||||
long style = wxFULL_REPAINT_ON_RESIZE,
|
||||
const wxString& name = wxPanelNameStr)
|
||||
{
|
||||
return Create(parent, winid, style, name);
|
||||
|
@@ -384,6 +384,7 @@ public:
|
||||
void OnKillFocus( wxFocusEvent &event );
|
||||
void OnChar( wxKeyEvent &event );
|
||||
void OnMouse( wxMouseEvent &event );
|
||||
void OnGetToolTip( wxTreeEvent &event );
|
||||
void OnInternalIdle( );
|
||||
|
||||
// implementation helpers
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
virtual void PositionStatusBar();
|
||||
|
||||
virtual wxStatusBar* CreateStatusBar(int number = 1,
|
||||
long style = wxST_SIZEGRIP,
|
||||
long style = wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
|
||||
wxWindowID id = 0,
|
||||
const wxString& name = wxStatusLineNameStr);
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
@@ -62,7 +62,7 @@ public:
|
||||
virtual void PositionStatusBar();
|
||||
|
||||
virtual wxStatusBar* CreateStatusBar(int number = 1,
|
||||
long style = wxST_SIZEGRIP,
|
||||
long style = wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE,
|
||||
wxWindowID id = 0,
|
||||
const wxString& name = wxStatusLineNameStr);
|
||||
#endif // wxUSE_STATUSBAR
|
||||
|
Reference in New Issue
Block a user