From: <ma...@us...> - 2003-12-24 10:07:50
|
Update of /cvsroot/sharedaemon/ui-wx/src In directory sc8-pr-cvs1:/tmp/cvs-serv5853 Modified Files: MBitmapButton.h Log Message: Fixes bitmapbutton for Mandrake, SuSE and RedHat. However, probably breaks for \"Classical\" controls that Slackware, Debian and others use :( Index: MBitmapButton.h =================================================================== RCS file: /cvsroot/sharedaemon/ui-wx/src/MBitmapButton.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- MBitmapButton.h 24 Dec 2003 07:34:10 -0000 1.4 +++ MBitmapButton.h 24 Dec 2003 10:07:46 -0000 1.5 @@ -39,9 +39,9 @@ #define LABEL_WIDTH_ADDITION 10 /* Extra width */ #define BITMAP_Y_POS_OFFSET 0 /* Text Y positioning offset */ #define TEXT_Y_POS_OFFSET 0 /* Text Y positioning offset */ - #define LABEL_POS_OFFSET -6 /* Pixels between image/button borders */ - #define BTN_FONT_SIZE 12 /* Button font size */ -#elif !defined (__WXMSW__) + #define LABEL_POS_OFFSET -8 /* Pixels between image/button borders */ + #define BTN_FONT_SIZE 12 /* Button font size */ +#elif !defined (__WXMSW__) #error Need MBitmapButton constants for your port. #endif |