TWIN32 compatibility added; wxMotif uses wxGTK's wxPostScriptDC;
wxByte replaces byte (can conflict with windows.h) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -49,7 +49,7 @@ wxColour wxSystemSettings::GetSystemColour(int index)
|
||||
wxFont wxSystemSettings::GetSystemFont(int index)
|
||||
{
|
||||
HFONT hFont = (HFONT) ::GetStockObject(index);
|
||||
if ( hFont != NULL )
|
||||
if ( hFont != (HFONT) NULL )
|
||||
{
|
||||
LOGFONT lf;
|
||||
if ( ::GetObject(hFont, sizeof(LOGFONT), &lf) != 0 )
|
||||
|
||||
Reference in New Issue
Block a user