Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25088/src/gui
Modified Files:
wxDialogLayout.cpp
Log Message:
EnableScrolling(false) doesn't remove the scrollbar, SetScrollbars(0, 0) does
Index: wxDialogLayout.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxDialogLayout.cpp,v
retrieving revision 1.113
retrieving revision 1.114
diff -b -u -2 -r1.113 -r1.114
--- wxDialogLayout.cpp 24 Jan 2005 18:36:20 -0000 1.113
+++ wxDialogLayout.cpp 17 Mar 2005 22:27:56 -0000 1.114
@@ -644,9 +644,8 @@
m_canvas->SetScrollbars(0, nPageSize, 0, height / nPageSize);
- m_canvas->EnableScrolling(FALSE, TRUE);
}
- else
+ else // remove scrollbar completely, we don't need it
{
- m_canvas->EnableScrolling(FALSE, FALSE);
+ m_canvas->SetScrollbars(0, 0, 0, 0);
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates