remove wxSYS_DEFAULT_PALETTE: it's supported only by wxMSW and it never worked there: GetStockObject(DEFAULT_PALETTE) returns a palette and not a font; so the resulting wxFont is wrong.
Expand and correct documentation for various system constants. Provide wxSYS_COLOUR_FRAMEBK as a synonym for wxSYS_COLOUR_BTNFACE as it is the colour which must be used to make wxFrame background coherent with the background of the controls they (eventually) contain. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1390,7 +1390,6 @@ static wxFont GetSystemFont(const wxString& name)
|
||||
SYSFNT(wxSYS_ANSI_VAR_FONT)
|
||||
SYSFNT(wxSYS_SYSTEM_FONT)
|
||||
SYSFNT(wxSYS_DEVICE_DEFAULT_FONT)
|
||||
SYSFNT(wxSYS_DEFAULT_PALETTE)
|
||||
SYSFNT(wxSYS_SYSTEM_FIXED_FONT)
|
||||
SYSFNT(wxSYS_DEFAULT_GUI_FONT)
|
||||
#undef SYSFNT
|
||||
|
||||
Reference in New Issue
Block a user