]> git.saurik.com Git - wxWidgets.git/commit - src/richtext/richtextsizepage.cpp
Fixed floating image layout when typing in subsequent paragraph
authorJulian Smart <julian@anthemion.co.uk>
Wed, 25 Apr 2012 11:42:31 +0000 (11:42 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 25 Apr 2012 11:42:31 +0000 (11:42 +0000)
commit23698b123b3bfb643e0ca3e278a82dca632d07bf
tree359b74adaa4f352f5b512e2bfb1244ac7b01c5d7
parentc6182d489c7cf71c9dba511e3f68671f5b17d50d
Fixed floating image layout when typing in subsequent paragraph
Now makes use of max size for images and keeps the image size reasonable
Added original image size so can usually avoid reloading image when recomputing
cached bitmap size
Takes into account bottom of the last floating image so scrollbars are
set correctly
Original image size is shown in disabled size controls

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/richtext/richtextbuffer.h
interface/wx/richtext/richtextbuffer.h
src/richtext/richtextbuffer.cpp
src/richtext/richtextsizepage.cpp