projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eec4965
)
Don't extend last header column button, as the column itself doesn't do it neither
author
Robert Roebling
<robert@roebling.de>
Thu, 22 Jan 2009 14:44:05 +0000
(14:44 +0000)
committer
Robert Roebling
<robert@roebling.de>
Thu, 22 Jan 2009 14:44:05 +0000
(14:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58303
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/generic/headerctrlg.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/generic/headerctrlg.cpp
b/src/generic/headerctrlg.cpp
index 82eedac84c98b50aad3caf9cd92943461cc51819..491354c6bc60259d047c9039e032bf75d30c15ba 100644
(file)
--- a/
src/generic/headerctrlg.cpp
+++ b/
src/generic/headerctrlg.cpp
@@
-497,8
+497,8
@@
void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
GetClientSize(&w, &h);
#ifdef __WXGTK__
- int vw;
- GetVirtualSize(&vw, NULL);
+
//
int vw;
+
//
GetVirtualSize(&vw, NULL);
#endif
wxAutoBufferedPaintDC dc(this);
@@
-553,7
+553,7
@@
void wxHeaderCtrl::OnPaint(wxPaintEvent& WXUNUSED(event))
#ifdef __WXGTK__
if (i == count-1)
{
- colWidth = wxMax( colWidth, vw - xpos );
+
//
colWidth = wxMax( colWidth, vw - xpos );
state |= wxCONTROL_DIRTY;
}
#endif