Don't hardcode wxPreviewControlBar size in print preview code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Jan 2011 15:57:30 +0000 (15:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 3 Jan 2011 15:57:30 +0000 (15:57 +0000)
commite562dfb1a0dbabd0a93d50495de52e827efc59a9
tree0223c42d00b718ef849f2285d5e270e550637b1e
parent825794618f758d58d3b84c77cc60cd884c270f73
Don't hardcode wxPreviewControlBar size in print preview code.

For some reason the control bar height was hard coded to 40 pixels which could
be not enough to use the buttons of the appropriate size. Don't hardcode its
size any more and let the sizer determine it instead.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/prntbase.cpp