wxWidgets/include/wx/private
Václav Slavík 5c3c137277 Fixed dialog units <-> pixels conversion.
The computation is now identical to Windows native one. To achieve this,
MSDN-recommended GetTextExtent() call is used instead of GetCharWidth().
wxMulDivInt32() is used instead of integer arithmetics to achieve
correct rounding.

Use toplevel parent's font instead of window's own. This makes more
sense, as dialog units are defined for TLWs, not individual subcontrols.

Also fixed wxMSW's wxButton::GetDefaultSize() to compute dialog units
correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-01-24 11:51:09 +00:00
..
fd.h Fix wxFD_CLR() definition for Intel compiler under Linux. 2009-12-06 02:29:42 +00:00
fdiodispatcher.h Extract wxFDIOHandler in its own header. 2009-08-17 23:02:29 +00:00
fdiohandler.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
fdiomanager.h Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
fileback.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
filename.h
flagscheck.h
fontmgr.h Removed wxFont::Set/GetNoAntiAliasing() implementations. 2009-10-09 13:04:59 +00:00
fswatcher.h Refactor wxEventLoopSource-related code. 2009-10-22 11:36:35 +00:00
graphics.h
overlay.h
sckaddr.h check for self assignment in operator= 2009-12-02 16:36:50 +00:00
selectdispatcher.h
socket.h Virtualize wxSocketImpl creation by routing it via wxSocketManager. 2009-08-16 23:13:45 +00:00
stattext.h extracted wxTextWrapper in its own header and made it public 2009-05-31 20:12:07 +00:00
threadinfo.h Make wxLog::EnableLogging() and wxLogNull thread-specific. 2009-07-13 13:21:52 +00:00
timer.h
window.h Fixed dialog units <-> pixels conversion. 2010-01-24 11:51:09 +00:00
wxprintf.h Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00