optimize rendering code by calling GetClientSize(), GetTextExtent() and CalculateAbsW...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 8 Feb 2009 19:17:07 +0000 (19:17 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Sun, 8 Feb 2009 19:17:07 +0000 (19:17 +0000)
commitba4589db1df8dc9f62853c8058b0c724697a1e42
treeb67acb29b5adb869193dc985d288b501ed2f365f
parent91d55088c9ee093e62b3282e2f64b32627f0f25d
optimize rendering code by calling GetClientSize(), GetTextExtent() and CalculateAbsWidth() only when strictly needed; update cache from an OnSize() event handler; fix RTL code: wxDC::DrawText() is RTL-aware itself and doesn't need special calculations

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/statusbr.h
src/generic/statusbr.cpp