X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..0a9f252212bdc4f9eea745a04632748d5544c042:/docs/latex/porting/porting.tex?ds=sidebyside diff --git a/docs/latex/porting/porting.tex b/docs/latex/porting/porting.tex index 6488144073..3c29f69eec 100644 --- a/docs/latex/porting/porting.tex +++ b/docs/latex/porting/porting.tex @@ -278,6 +278,8 @@ If you used device context functions with wxPoint or wxIntPoint before, please n that wxPoint now contains integer members, and there is a new class wxRealPoint. wxIntPoint no longer exists. +wxMetaFile and wxMetaFileDC have been renamed to wxMetafile and wxMetafileDC. + \chapter{Miscellaneous} \section{Strings} @@ -327,14 +329,7 @@ Try to use the {\bf const} keyword in your own code where possible. Some wxWindows 1.xx functionality has been left to ease the transition to 2.0. This functionality (usually) only works if you compile with WXWIN\_COMPATIBILITY set to 1. -TODO - -OnMenuCommand, OnSize, OnActivate, OnPaint, others?? can all be prefixed with Old (e.g. OldOnMenuCommand) -and will work as before. You are encouraged to convert your code to the new forms, but -this will allow you to get your applications up and running a little more quickly. - -OnClose can be used as-is without an 'Old' prefix, but officially the OnCloseWindow event table handler should be -used instead. +Mostly this defines old names to be the new names (e.g. wxRectangle is defined to be wxRect). \chapter{Quick reference}\label{quickreference}