X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fdaa477278bd2ffec273d003750b388640eb4a6..3cc305b2b4a0674c56c84d7088cfd70676b850f0:/docs/latex/wx/wxmsw.tex?ds=sidebyside diff --git a/docs/latex/wx/wxmsw.tex b/docs/latex/wx/wxmsw.tex index 12393eacf9..c686b95e67 100644 --- a/docs/latex/wx/wxmsw.tex +++ b/docs/latex/wx/wxmsw.tex @@ -108,12 +108,8 @@ wxGetOsVersion will return these values: \subsubsection{Window sizing in wxWinCE} -When creating frames and dialogs, create them with wxDefaultPosition and -wxDefaultSize, which will tell WinCE to create them full-screen. - -Don't call Fit() and Centre(), so the content sizes to -the window rather than fitting the window to the content. (We really need a single API call -that will do the right thing on each platform.) +Top level windows (dialogs, frames) are created always full-screen. Fit() of sizers will not rescale top +level windows but instead will scale window content. If the screen orientation changes, the windows will automatically be resized so no further action needs to be taken (unless you want to change the layout @@ -271,7 +267,7 @@ tooltips are distinct controls, and it will be hard to add dynamic tooltip support. Control borders on PocketPC and Smartphone should normally be specified with -wxSIMPLE\_BORDER instead of wxSUNKEN\_BORDER. Controls will usually adapt +wxBORDER\_SIMPLE instead of wxBORDER\_SUNKEN. Controls will usually adapt appropriately by virtue of their GetDefaultBorder() function, but if you wish to specify a style explicitly you can use wxDEFAULT\_CONTROL\_BORDER which will give a simple border on PocketPC and Smartphone, and the sunken border on @@ -355,13 +351,13 @@ Unfortunately, Visual Studio 2005, required to build Windows Mobile 5.0 applicat doesn't do a perfect job of converting the project files from eVC++ format. When you have converted the wxWidgets workspace, edit the configuration properties -for each configuration and in the Librarian, add a relative path ..\..\lib to -each library path. For example: {\tt ..\$(PlatformName)\$(ConfigurationName)\wx_mono.lib}. +for each configuration and in the Librarian, add a relative path ..$\backslash$..$\backslash$lib to +each library path. For example: {\tt ..$\backslash$\$(PlatformName)$\backslash$\$(ConfigurationName)$\backslash$wx\_mono.lib}. Then, for a sample you want to compile, edit the configuration properties -and make sure {\tt ..\..\lib\$(PlatformName)\$(ConfigurationName)} is in the Linker/General/Additional +and make sure {\tt ..$\backslash$..$\backslash$lib$\backslash$\$(PlatformName)$\backslash$\$(ConfigurationName)} is in the Linker/General/Additional Library Directories property. Also change the Linker/Input/Additional Dependencies -property to something like {\tt coredll.lib wx\_mono.lib wx\_wxjpeg.lib wx\_wxpng.lib wx\_wxzlib.lib wx\_wxexpat.lib commctrl.lib winsock.lib wininet.lib} +property to something like {\tt coredll.lib wx\_mono.lib wx\_wxjpeg.lib wx\_wxpng.lib wx\_wxzlib.lib wx\_wxexpat.lib commctrl.lib winsock.lib wininet.lib}\rtfsp (since the library names in the wxWidgets workspace were changed by VS 2005). Alternately, you could could edit all the names to be identical to the original eVC++ @@ -424,3 +420,4 @@ between desktop and mobile applications, in particular for sizer layout. should be catered for, either by hard-wiring the capability into all dialogs and panels, or by providing a standard component and sizer. \end{itemize} +