-29. Patch 664399: wxButton default size should not be adjusted
- (wxUniv), cures overlapping buttons on e.g. wxWizard sample.
-
-Index: src/univ/button.cpp
-===================================================================
-RCS file: /pack/cvsroots/wxwindows/wxWindows/src/univ/button.cpp,v
-retrieving revision 1.15
-diff -r1.15 button.cpp
-116,117c116,117
-< s_sizeBtn.x = 8*dc.GetCharWidth();
-< s_sizeBtn.y = (11*dc.GetCharHeight())/10 + 2;
----
-> s_sizeBtn.x = dc.GetCharWidth()*10 + 2;
-> s_sizeBtn.y = dc.GetCharHeight()*11/10 + 2;
-139,149c139,140
-< // for compatibility with other ports, the buttons default size is never
-< // less than the standard one, but not when display not PDAs.
-< if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA)
-< {
-< if ( !(GetWindowStyle() & wxBU_EXACTFIT) )
-< {
-< wxSize szDef = GetDefaultSize();
-< if ( width < szDef.x )
-< width = szDef.x;
-< }
-< }
----
-> // The default size should not be adjusted, so the code is moved into the
-> // renderer. This is conceptual wrong but currently the only solution
-
-Index: src/univ/themes/win32.cpp
-===================================================================
-RCS file: /pack/cvsroots/wxwindows/wxWindows/src/univ/themes/win32.cpp,v
-retrieving revision 1.55
-diff -r1.55 win32.cpp
-3989a3990,4001
-> // for compatibility with other ports, the buttons default size is never
-> // less than the standard one, but not when display not PDAs.
-> if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA)
-> {
-> if ( !(window->GetWindowStyle() & wxBU_EXACTFIT) )
-> {
-> wxSize szDef = wxButton::GetDefaultSize();
-> if ( size->x < szDef.x )
-> size->x = szDef.x;
-> }
-> }
->
-
-
-30. [wxMotif] Coloured stipples, don't use stipples in DoDrawText
-
-Checking in src/motif/dcclient.cpp;
-/pack/cvsroots/wxwindows/wxWindows/src/motif/dcclient.cpp,v <-- dcclient.cpp
-new revision: 1.47; previous revision: 1.46
-done