1. added wxGTK::wxToolBar::SetToolShortHelp() and test for it in sample

2. fix a crash if SetSelection is called too early in wxTextCtrl
3. patch for mouse position in wxTreeCtrl events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-11-24 17:07:12 +00:00
parent 38cfbffa15
commit a1f79c1e00
10 changed files with 70 additions and 12 deletions

View File

@@ -175,8 +175,11 @@ private:
void UpdateStatusBar(const wxPoint& pos, const wxSize& size)
{
wxString msg;
msg.Printf(_("pos=(%d, %d), size=%dx%d"),
pos.x, pos.y, size.x, size.y);
wxSize sizeCl = GetClientSize();
msg.Printf(_("pos=(%d, %d), size=%dx%d (client=%dx%d)"),
pos.x, pos.y,
size.x, size.y,
sizeCl.x, sizeCl.y);
SetStatusText(msg, 1);
}