From: <ma...@us...> - 2004-01-10 19:00:05
|
Update of /cvsroot/sharedaemon/ui-wx In directory sc8-pr-cvs1:/tmp/cvs-serv15105 Modified Files: INSTALL Changelog Added Files: mswflatbuttons.patch Log Message: Flat-look on win32: Another patch for wxWindows library. --- NEW FILE: mswflatbuttons.patch --- Index: src/msw/button.cpp =================================================================== RCS file: /pack/cvsroots/wxwindows/wxWindows/src/msw/button.cpp,v retrieving revision 1.75 diff -b -u -2 -r1.75 button.cpp --- src/msw/button.cpp 2003/09/24 00:41:05 1.75 +++ src/msw/button.cpp 2004/01/10 16:44:14 @@ -184,4 +184,7 @@ if ( style & wxBU_BOTTOM ) msStyle |= BS_BOTTOM; + // flat 2d buttons + if ( style & wxNO_BORDER ) + msStyle |= BS_FLAT; #endif // __WIN32__ Index: INSTALL =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/INSTALL,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- INSTALL 29 Dec 2003 06:52:31 -0000 1.7 +++ INSTALL 10 Jan 2004 19:00:02 -0000 1.8 @@ -20,6 +20,7 @@ is considered hidden if its size is less than or equal to 10, but the 'hidden' columns will then have width 10 instead of zero. Apply the patch in src/generic/ directory in wxWindows sources, and recompile. + Apply in src/generic directory. -- wxWindows patching: src/common/sizer.cpp (flexgridsizer.patch) Due to missing wxFlexGridSizer::RemoveGrowableCol() method in @@ -27,6 +28,12 @@ file in wxWindows sources for sidebar hiding code to work. Do so using flexgridsizer.patch file (apply in the src/common directory of wxWindows sources), and add --has-patched-wxsizer flag to configure. + Apply in src/common directory. + + -- wxWindows patching: src/msw/button.cpp (mswflatbuttons.patch) + This patch implements flat-buttons on wxMSW by using BS_FLAT CButton + style. Apply at top level of wxWindows source hierarchy with -p0 + flag. * Note about GTK2 As GTK2 support in wxWindows library is, according to them, Index: Changelog =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/Changelog,v retrieving revision 1.123 retrieving revision 1.124 diff -u -d -r1.123 -r1.124 --- Changelog 5 Jan 2004 11:59:52 -0000 1.123 +++ Changelog 10 Jan 2004 19:00:02 -0000 1.124 @@ -25,6 +25,10 @@ # This also helps in backtracking changes, or reviewing development history. # ############################################################################### +2003/01/10 Alo Sarv + * Updated Hungarian and German translations by Reviczky. + * Flat-look on win32 (via patching wxWindows). + 2003/01/05 Alo Sarv * Added hungarian translation by Reviczky. |